Add go mod support.
This commit is contained in:
parent
6437e041ee
commit
2ada2ff69b
103 changed files with 273 additions and 229 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
package enum
|
||||
|
||||
import "github.com/go-jet/jet/postgres"
|
||||
import "github.com/go-jet/jet/v2/postgres"
|
||||
|
||||
var MpaaRating = &struct {
|
||||
G postgres.StringExpression
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var Actor = newActorTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var Category = newCategoryTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var Film = newFilmTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var FilmActor = newFilmActorTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var FilmCategory = newFilmCategoryTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package table
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var Language = newLanguageTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package view
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var ActorInfo = newActorInfoTable()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package view
|
||||
|
||||
import (
|
||||
"github.com/go-jet/jet/postgres"
|
||||
"github.com/go-jet/jet/v2/postgres"
|
||||
)
|
||||
|
||||
var CustomerList = newCustomerListTable()
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ Jet generated files of interest are in `./gen` folder.
|
|||
with a difference of redirecting json output to files(`dest.json` and `dest2.json`) rather then to a
|
||||
standard output.
|
||||
|
||||
`./gen`, `dest.json` and `dest2.json` - added to git for presentation purposes.
|
||||
`./gen`, `dest.json` and `dest2.json` - added into git for presentation purposes.
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ import (
|
|||
|
||||
// dot import so that jet go code would resemble as much as native SQL
|
||||
// dot import is not mandatory
|
||||
. "github.com/go-jet/jet/examples/quick-start/.gen/jetdb/dvds/table"
|
||||
. "github.com/go-jet/jet/postgres"
|
||||
. "github.com/go-jet/jet/v2/examples/quick-start/.gen/jetdb/dvds/table"
|
||||
. "github.com/go-jet/jet/v2/postgres"
|
||||
|
||||
"github.com/go-jet/jet/examples/quick-start/.gen/jetdb/dvds/model"
|
||||
"github.com/go-jet/jet/v2/examples/quick-start/.gen/jetdb/dvds/model"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue