new oclib match
This commit is contained in:
@@ -84,7 +84,7 @@ var MINIO = func() string {
|
||||
}
|
||||
|
||||
// Bind the standard API name to the data type
|
||||
var DefaultAPI = [...]func() string{
|
||||
var InnerDefaultAPI = [...]func() string{
|
||||
NOAPI,
|
||||
CATALOGAPI,
|
||||
CATALOGAPI,
|
||||
@@ -151,8 +151,8 @@ func FromInt(i int) string {
|
||||
return Str[i]
|
||||
}
|
||||
|
||||
func (d DataType) API() string { // API - Returns the API name of the data type
|
||||
return DefaultAPI[d]()
|
||||
func (d DataType) InnerAPI() string { // API - Returns the API name of the data type
|
||||
return InnerDefaultAPI[d]()
|
||||
}
|
||||
|
||||
func (d DataType) String() string { // String - Returns the string name of the data type
|
||||
|
||||
Reference in New Issue
Block a user