Original post

Hello all,

I’m new in go.

i was looking for how to create a dll file from go and i used the following command

go build -o client.dll -buildmode c-shared

My fiile has a main function without any code on it and i have another function called “TestMain”
which contain the all reuired code for the script. Now how should i run this dll ? i tried with : rundll32 client.dll,TestMain
but i got an error that “Missing Entry: TestMain” so i need to know how can i compile it and run it