go-execbin
Analyze the binary outputted by go build
to get type information etc.
Status
UNDER DEVELOPMENT
Synopsis
package main
import (
"github.com/goccy/go-execbin"
)
func main() {
file, err := execbin.Open("path/to/binary")
if err != nil {
panic(err)
}
types, err := file.DefinedInterfaceTypes()
if err != nil {
panic(err)
}
}