1
0

Updated libraries

This commit is contained in:
konrad
2019-05-07 21:42:24 +02:00
parent 2b160b73c3
commit 3d7fd9ca20
313 changed files with 37947 additions and 6783 deletions

View File

@ -2,7 +2,7 @@ package swag
import "fmt"
// CheckSchemaType TODO: NEEDS COMMENT INFO
// CheckSchemaType begins panicking if typeName is not a name of primitive type
func CheckSchemaType(typeName string) {
if !IsPrimitiveType(typeName) {
panic(fmt.Errorf("%s is not basic types", typeName))