go-gorm / playground

GORM Playground (Please Create PR for this project to report issues)
MIT License
89 stars 678 forks source link

Project doesn't compile/run #751

Open robertoneto-senior opened 2 months ago

robertoneto-senior commented 2 months ago

GORM Playground Link

  1. Cloned the repository
  2. Ran the ./test.sh
$ ./test.sh 
git clone --depth 1 -b master https://github.com/go-gorm/gorm.git
Cloning into 'gorm'...
remote: Enumerating objects: 180, done.
remote: Counting objects: 100% (180/180), done.
remote: Compressing objects: 100% (173/173), done.
remote: Total 180 (delta 13), reused 55 (delta 5), pack-reused 0
Receiving objects: 100% (180/180), 234.74 KiB | 1.19 MiB/s, done.
Resolving deltas: 100% (13/13), done.
go: downloading gorm.io/gen v0.3.25
go: downloading gorm.io/driver/sqlite v1.5.3
go: downloading gorm.io/driver/sqlserver v1.5.1
go: downloading gorm.io/driver/mysql v1.5.2
go: downloading gorm.io/driver/postgres v1.5.2
go: downloading github.com/jinzhu/now v1.1.5
go: downloading gorm.io/driver/sqlite v1.5.6
go: downloading gorm.io/driver/sqlserver v1.5.3
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading golang.org/x/text v0.14.0
go: downloading gorm.io/driver/postgres v1.5.9
go: downloading gorm.io/driver/mysql v1.5.7
go: downloading github.com/mattn/go-sqlite3 v1.14.17
go: downloading gorm.io/gen v0.3.26
go: downloading github.com/microsoft/go-mssqldb v1.5.0
go: downloading github.com/jackc/pgx/v5 v5.4.3
go: downloading github.com/go-sql-driver/mysql v1.7.1
go: downloading github.com/go-sql-driver/mysql v1.8.1
go: downloading github.com/microsoft/go-mssqldb v1.7.2
go: downloading golang.org/x/tools v0.15.0
go: downloading github.com/mattn/go-sqlite3 v1.14.22
go: downloading github.com/jackc/pgx/v5 v5.6.0
go: downloading gorm.io/datatypes v1.1.1-0.20230130040222-c43177d3cf8c
go: downloading gorm.io/datatypes v1.2.1
go: downloading golang.org/x/tools v0.23.0
go: downloading gorm.io/hints v1.1.0
go: downloading gorm.io/hints v1.1.2
go: downloading gorm.io/plugin/dbresolver v1.5.0
go: downloading github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9
go: downloading github.com/golang-sql/sqlexp v0.1.0
go: downloading gorm.io/plugin/dbresolver v1.5.2
go: downloading golang.org/x/text v0.16.0
go: downloading golang.org/x/sys v0.14.0
go: downloading golang.org/x/crypto v0.14.0
go: downloading golang.org/x/mod v0.14.0
go: downloading github.com/jackc/pgx v3.6.2+incompatible
go: downloading golang.org/x/mod v0.19.0
go: downloading golang.org/x/sys v0.22.0
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
go: downloading golang.org/x/crypto v0.25.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761
go: downloading filippo.io/edwards25519 v1.1.0
go: downloading golang.org/x/sync v0.7.0
go: downloading github.com/jackc/puddle/v2 v2.2.1
go: downloading github.com/jackc/puddle v1.3.0
go: gorm.io/playground imports
    gorm.io/gen/examples/dal: cannot find module providing package gorm.io/gen/examples/dal

Tried also to run go clean -modcache and go clean -cache, but the problem continues.

go version go1.22.3 linux/amd64

Description

Just trying to fork this repository to report a bug related to many2many.

brett--anderson commented 1 month ago

I'm also having this problem, and I'm also trying to report a bug related to many2many.

vivere-dally commented 1 week ago

Any update on how to deal with the examples/dal issue?