[go-nuts] How to auto generate function code hidden .go files for static library built by -buildmode=archive?

2019-08-12 Thread nifflerfox
When I publish a Go package which need to hide important code > go build -buildmode=archive -o ***.a I use this command to make .a static library, when other users need to use this .a static library, they need this .a and .go files which have all needed public functions, structs and constant

[go-nuts] Any tool can auto generate fake go files with type definition for binary-only-package?

2019-08-12 Thread nifflerfox
I don't want to write type definition for fake go files, but type definition is necessary for binary-only-package end users, like code hint. If the package has a lot of functions/structs, write type definition is an impossible hard work. -- You received this message because you are subscribed