mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
22 lines
304 B
Go
22 lines
304 B
Go
|
package settings
|
||
|
|
||
|
type Setting struct {
|
||
|
name string
|
||
|
defaultValue string
|
||
|
}
|
||
|
|
||
|
var Settings = []Setting{
|
||
|
{
|
||
|
name: "migration_mode",
|
||
|
defaultValue: "true",
|
||
|
},
|
||
|
}
|
||
|
|
||
|
func (s *Setting) GetName() string {
|
||
|
return s.name
|
||
|
}
|
||
|
|
||
|
func (s *Setting) GetDefaultValue() string {
|
||
|
return s.defaultValue
|
||
|
}
|