mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-19 08:50:46 +00:00
Databases CRUD
This commit is contained in:
7
api/config/config.go
Normal file
7
api/config/config.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
var Config = ServerConfig{
|
||||
DatabaseAccount: "localhost",
|
||||
DatabaseDomain: "localhost",
|
||||
DatabaseEndpoint: "https://localhost:8081/",
|
||||
}
|
||||
7
api/config/models.go
Normal file
7
api/config/models.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type ServerConfig struct {
|
||||
DatabaseAccount string
|
||||
DatabaseDomain string
|
||||
DatabaseEndpoint string
|
||||
}
|
||||
Reference in New Issue
Block a user