Documentation ¶ Index ¶ func Add() []any type Patient func (p *Patient) AllowedRoles(action byte) []byte func (p *Patient) Create(data ...any) any func (p *Patient) HandlerName() string func (p *Patient) Read(data ...any) any func (p *Patient) ValidateData(action byte, data ...any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Add ¶ added in v0.1.0 func Add() []any Add returns all entities from this module Types ¶ type Patient ¶ type Patient struct { ID int Name string Age int } func (*Patient) AllowedRoles ¶ added in v0.2.1 func (p *Patient) AllowedRoles(action byte) []byte func (*Patient) Create ¶ added in v0.1.0 func (p *Patient) Create(data ...any) any func (*Patient) HandlerName ¶ added in v0.1.0 func (p *Patient) HandlerName() string func (*Patient) Read ¶ added in v0.1.0 func (p *Patient) Read(data ...any) any func (*Patient) ValidateData ¶ added in v0.1.0 func (p *Patient) ValidateData(action byte, data ...any) error Source Files ¶ View all Source files patient.go Click to show internal directories. Click to hide internal directories.