PS D:\学习指南\go\project01> go run .\main.go
main.go:17:2: no required module provides package github.com/GoAdminGroup/go-admin/adapter/gin; to add it:
go get github.com/GoAdminGroup/go-admin/adapter/gin
main.go:21:2: no required module provides package github.com/GoAdminGroup/go-admin/engine; to add it:
go get github.com/GoAdminGroup/go-admin/engine
main.go:18:2: no required module provides package github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql; to add it:
go get github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql
main.go:22:2: no required module provides package github.com/GoAdminGroup/go-admin/template; to add it:
go get github.com/GoAdminGroup/go-admin/template
main.go:23:2: no required module provides package github.com/GoAdminGroup/go-admin/template/chartjs; to add it:
go get github.com/GoAdminGroup/go-admin/template/chartjs
main.go:19:2: no required module provides package github.com/GoAdminGroup/themes/adminlte; to add it:
go get github.com/GoAdminGroup/themes/adminlte
main.go:24:2: no required module provides package github.com/gin-gonic/gin; to add it:
go get github.com/gin-gonic/gin
main.go:13:5: package project01/models is not in std (D:\学习指南\go\package\src\project01\models)
main.go:14:5: package project01/pages is not in std (D:\学习指南\go\package\src\project01\pages)
main.go:15:5: package project01/tables is not in std (D:\学习指南\go\package\src\project01\tables)
go run main.go 的时候报错
PS D:\学习指南\go\project01> go run .\main.go main.go:17:2: no required module provides package github.com/GoAdminGroup/go-admin/adapter/gin; to add it: go get github.com/GoAdminGroup/go-admin/adapter/gin main.go:21:2: no required module provides package github.com/GoAdminGroup/go-admin/engine; to add it: go get github.com/GoAdminGroup/go-admin/engine main.go:18:2: no required module provides package github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql; to add it: go get github.com/GoAdminGroup/go-admin/modules/db/drivers/mysql main.go:22:2: no required module provides package github.com/GoAdminGroup/go-admin/template; to add it: go get github.com/GoAdminGroup/go-admin/template main.go:23:2: no required module provides package github.com/GoAdminGroup/go-admin/template/chartjs; to add it: go get github.com/GoAdminGroup/go-admin/template/chartjs main.go:19:2: no required module provides package github.com/GoAdminGroup/themes/adminlte; to add it: go get github.com/GoAdminGroup/themes/adminlte main.go:24:2: no required module provides package github.com/gin-gonic/gin; to add it: go get github.com/gin-gonic/gin main.go:13:5: package project01/models is not in std (D:\学习指南\go\package\src\project01\models) main.go:14:5: package project01/pages is not in std (D:\学习指南\go\package\src\project01\pages) main.go:15:5: package project01/tables is not in std (D:\学习指南\go\package\src\project01\tables)