./gomacro -g /home/user/go/src/github.com/go-rod/rod/lib/launcher
generate x_package.go NOT include some functions like this form :
func (l *Launcher) Set(name flags.Flag, values ...string) *Launcher {
name.Check()
l.Flags[name.NormalizeFlag()] = values
return l
}
And then import the package in gomacro cli :
// warning: skipping import of func sync.OnceValue[T any](f func() T) func() T: importing generic functions or types is not supported yet
// warning: skipping import of func sync.OnceValues[T1, T2 any](f func() (T1, T2)) func() (T1, T2): importing generic functions or types is not supported yet