Documentation ¶
Index ¶
- type Result
- type Results
- type Service
- func (s *Service) Count(ctx context.Context) (int64, error)
- func (s *Service) Create(ctx context.Context, nickname, name string, birthday time.Time, stack []string) (string, error)
- func (s *Service) Get(ctx context.Context, id string) (Result, error)
- func (s *Service) Search(ctx context.Context, query string) (Results, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { ID string `json:"id"` Nickname string `json:"apelido"` Name string `json:"nome"` Birthday string `json:"nascimento"` Stack []string `json:"stack"` }
func (Result) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Result) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Result) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Result) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Results ¶
type Results []Result
func (Results) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Results) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Results) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Results) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.