Okay, thanks for that. What about now?
package main
import (
"C"
"fmt"
)
//export Test
func Test() {
fmt.Println("test code")
}
func main() {
}
On Friday, August 7, 2020 at 3:47:38 PM UTC+9 Lutz Horn wrote:
> Am 07.08.20 um 05:00 schrieb [email protected]:
> > //export test
> > func test() {
> > fmt.Println("test code")
> > }
>
> `test` is not exported. It would be, if it was called `Test` with a
> capital `T`.
>
> Lutz
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/5720341d-1fd6-4c89-bd96-890bca936e05n%40googlegroups.com.