diff options
Diffstat (limited to 'vendor/github.com/leodido/go-urn/scim/schema')
| -rw-r--r-- | vendor/github.com/leodido/go-urn/scim/schema/type.go | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/vendor/github.com/leodido/go-urn/scim/schema/type.go b/vendor/github.com/leodido/go-urn/scim/schema/type.go deleted file mode 100644 index 134918230..000000000 --- a/vendor/github.com/leodido/go-urn/scim/schema/type.go +++ /dev/null @@ -1,36 +0,0 @@ -package scimschema - -type Type int - -const ( - Unsupported Type = iota - Schemas - API - Param -) - -func (t Type) String() string { - switch t { - case Schemas: - return "schemas" - case API: - return "api" - case Param: - return "param" - } - - return "" -} - -func TypeFromString(input string) Type { - switch input { - case "schemas": - return Schemas - case "api": - return API - case "param": - return Param - } - - return Unsupported -} |
