Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyApi ¶
type CompanyApi struct {
Name string
}
type LanguageApi ¶
type LanguageApi struct {
Name string
}
type Stack ¶
func NewStackFromApi ¶
func (*Stack) AddTechnology ¶
func (s *Stack) AddTechnology(t *Technology) error
func (*Stack) GetTechnologies ¶
func (s *Stack) GetTechnologies() []Technology
func (*Stack) MarshalJSON ¶
func (*Stack) RemoveTechnology ¶
func (s *Stack) RemoveTechnology(t *Technology) error
type StackApi ¶
type StackApi struct { Company CompanyApi Technologies []TechnologyApi }
type Technology ¶
func NewTechnology ¶
func NewTechnology(name string) (*Technology, error)
func NewTechnologyFromApi ¶
func NewTechnologyFromApi(techApi *TechnologyApi) (*Technology, error)
func (*Technology) AddLanguage ¶
func (t *Technology) AddLanguage(l *Language) error
func (*Technology) GetLanguages ¶
func (t *Technology) GetLanguages() []Language
func (*Technology) MarshalJSON ¶
func (t *Technology) MarshalJSON() ([]byte, error)
func (*Technology) RemoveLanguage ¶
func (t *Technology) RemoveLanguage(l *Language) error
type TechnologyApi ¶
type TechnologyApi struct { Name string Languages []LanguageApi }
Click to show internal directories.
Click to hide internal directories.