first commit

This commit is contained in:
2023-10-19 22:47:12 +09:00
commit 7873968e4d
35 changed files with 1710 additions and 0 deletions

5
configs/common.dev Normal file
View File

@ -0,0 +1,5 @@
package config
const PORT = ":3030"
const DATABASE_URL = "root:omHO7EEzHm52s9DlZD70P6KPKm2TbODC@tcp(db:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"

7
configs/common.go Normal file
View File

@ -0,0 +1,7 @@
package config
const PORT = ":3030"
const DATABASE_URL = "root:sswha123@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
// const DATABASE_URL = "sqlite.db"
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"

6
configs/common.local Normal file
View File

@ -0,0 +1,6 @@
package config
const PORT = ":3030"
const DATABASE_URL = "root:sswha123@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
//const DATABASE_URL = "sqlite.db"
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"

5
configs/common.prod Normal file
View File

@ -0,0 +1,5 @@
package config
const PORT = ":3030"
const DATABASE_URL = "root:omHO7EEzHm52s9DlZD70P6KPKm2TbODC@tcp(localhost:3306)/boilerplate?charset=utf8&parseTime=True&loc=Local"
const SECRET_KEY = "5a14e06d-55a3-418c-9f3f-8fde328d6c49"