start moving to bun

This commit is contained in:
tsmethurst 2021-08-23 16:54:26 +02:00
commit 29b4adfb69
175 changed files with 16045 additions and 945 deletions

26
vendor/github.com/uptrace/bun/dialect/dialect.go generated vendored Normal file
View file

@ -0,0 +1,26 @@
package dialect
type Name int
func (n Name) String() string {
switch n {
case PG:
return "pg"
case SQLite:
return "sqlite"
case MySQL5:
return "mysql5"
case MySQL8:
return "mysql8"
default:
return "invalid"
}
}
const (
Invalid Name = iota
PG
SQLite
MySQL5
MySQL8
)