3
0

Remove merge-conflict artefact

This commit is contained in:
Denis Arh
2020-11-27 18:36:22 +01:00
parent 01da39a484
commit b739c5d01f

View File

@@ -55,19 +55,6 @@ func (opt ModuleFieldOptions) Bool(key string) bool {
return false
}
// Bool returns option value for key as boolean true or false
//
// Invalid, non-existing are returned as false
func (opt ModuleFieldOptions) String(key string) string {
if _, has := opt[key]; has {
if v, ok := opt[key].(string); ok {
return v
}
}
return ""
}
func (opt ModuleFieldOptions) Int64(key string) int64 {
return opt.Int64Def(key, 0)
}