Documentation ¶
Index ¶
Constants ¶
View Source
const ( ATTR_KEY = "github.com/mandelsoft/ocm/compat" ATTR_SHORT = "compat" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(ctx datacontext.Context) bool
Types ¶
type AttributeType ¶
type AttributeType struct{}
func (AttributeType) Decode ¶
func (a AttributeType) Decode(data []byte, unmarshaller runtime.Unmarshaler) (interface{}, error)
func (AttributeType) Description ¶
func (a AttributeType) Description() string
func (AttributeType) Encode ¶
func (a AttributeType) Encode(v interface{}, marshaller runtime.Marshaler) ([]byte, error)
func (AttributeType) Name ¶
func (a AttributeType) Name() string
Click to show internal directories.
Click to hide internal directories.