Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Routing ¶
func Routing(router *httprouter.Router)
Types ¶
type DeleteResponse ¶
type DeleteResponse struct {
myhttp.ResponseBase
}
type GetAllResponse ¶
type GetAllResponse struct {
myhttp.ResponseBase
Zos []Zo `json:"zos"`
}
type GetResponse ¶
type GetResponse struct {
myhttp.ResponseBase
Zo *Zo `json:"zo"`
}
type PostResponse ¶
type PostResponse struct {
myhttp.ResponseBase
Zo *Zo `json:"zo"`
}
type PutResponse ¶
type PutResponse struct {
myhttp.ResponseBase
Zo *Zo `json:"zo"`
}
type Zo ¶
type ZoRepository ¶
type ZoRepository struct {
}
func (*ZoRepository) Delete ¶
func (r *ZoRepository) Delete(id int) error
func (*ZoRepository) Findall ¶
func (r *ZoRepository) Findall() ([]Zo, error)
func (*ZoRepository) Update ¶
func (r *ZoRepository) Update(zo *Zo) error
type ZoService ¶
type ZoService struct {
Zr ZoRepository
}
Click to show internal directories.
Click to hide internal directories.