mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
rm govalidation phase
This commit is contained in:
parent
c034293967
commit
abd696ca56
2 changed files with 2 additions and 2 deletions
2
db.go
2
db.go
|
|
@ -478,7 +478,7 @@ func MergeSchemas(a, b []*DBInfo) []*DBInfo {
|
|||
|
||||
// DBOptions represents options to set when initializing a db.
|
||||
type DBOptions struct {
|
||||
ColumnLabel string `json:"columnLabel,omitempty" valid:"required,string"`
|
||||
ColumnLabel string `json:"columnLabel,omitempty"`
|
||||
}
|
||||
|
||||
// hasTime returns true if a contains a non-nil time.
|
||||
|
|
|
|||
|
|
@ -412,7 +412,7 @@ func (h Handler) validateOptions(path string, options map[string]interface{}) er
|
|||
|
||||
type postDBRequest struct {
|
||||
DB string `json:"db"`
|
||||
Options DBOptions `json:"options" valid:"json"`
|
||||
Options DBOptions `json:"options"`
|
||||
}
|
||||
|
||||
type postDBResponse struct{}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue