rm govalidation phase

This commit is contained in:
Linh Vo 2017-04-03 10:50:19 -05:00
parent c034293967
commit abd696ca56
2 changed files with 2 additions and 2 deletions

2
db.go
View file

@ -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.

View file

@ -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{}