package main import ( "dy-test/embed/user_pkg" "fmt" ) // embed func main() { a := &user_pkg.UserPkg{} fmt.Println(a.GetID()) }