terraform/vendor/github.com/manyminds/api2go/jsonapi/entity_namer.go

10 lines
260 B
Go
Raw Normal View History

package jsonapi
// The EntityNamer interface can be optionally implemented to directly return the
// name of resource used for the "type" field.
//
// Note: By default the name is guessed from the struct name.
type EntityNamer interface {
GetName() string
}