Files
threshold/api/util.go
T

24 lines
336 B
Go

package api
import (
"github.com/fatih/structs"
)
func init() {
structs.DefaultTagName = "json"
}
type GenericResult interface {
GetItem() interface{}
GetResponse() *Response
}
type GenericDeleteResult interface {
GetResponse() *Response
}
type GenericListResult interface {
GetItems() interface{}
GetResponse() *Response
}