orms

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NO_ORM = ORMModule{
		Name:    "No",
		Package: "",
		ID:      "0",
	}
	GORM = ORMModule{
		Name:    "GORM",
		Package: "gorm.io/gorm",
		ID:      "1",
	}
	SQLBOILER = ORMModule{
		Name:    "SQLBoiler",
		Package: "github.com/volatiletech/sqlboiler",
		ID:      "2",
	}
	ENT = ORMModule{
		Name:    "Ent",
		Package: "github.com/ent/ent",
		ID:      "3",
	}
	MGM = ORMModule{
		Name:    "MGM",
		Package: "go.mongodb.org/mongo-driver/mongo",
		ID:      "4",
	}
)
View Source
var MongoORMs = []ORMModule{
	NO_ORM,
	MGM,
}

Functions

This section is empty.

Types

type ORMModule

type ORMModule struct {
	Name    string
	Package string
	ID      string
}

func GetORMModuleById

func GetORMModuleById(id string) ORMModule

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL