Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2019 Changes in this version + type Country struct + CountryModel model.ICountry + func NewCountry(mCountry model.ICountry) *Country + func (a *Country) Create(ctx context.Context, item schema.Country) (*schema.Country, error) + func (a *Country) Delete(ctx context.Context, code string) error + func (a *Country) Get(ctx context.Context, code string, opts ...schema.CountryQueryOptions) (*schema.Country, error) + func (a *Country) Query(ctx context.Context, params schema.CountryQueryParam, ...) (*schema.CountryQueryResult, error) + func (a *Country) Update(ctx context.Context, code string, item schema.Country) (*schema.Country, error) + func (a *Country) UpdateStatus(ctx context.Context, code string, status int) error + type Language struct + LanguageModel model.ILanguage + func NewLanguage(mLanguage model.ILanguage) *Language + func (a *Language) Create(ctx context.Context, item schema.Language) (*schema.Language, error) + func (a *Language) Delete(ctx context.Context, code string) error + func (a *Language) Get(ctx context.Context, code string, opts ...schema.LanguageQueryOptions) (*schema.Language, error) + func (a *Language) Query(ctx context.Context, params schema.LanguageQueryParam, ...) (*schema.LanguageQueryResult, error) + func (a *Language) Update(ctx context.Context, code string, item schema.Language) (*schema.Language, error) + func (a *Language) UpdateStatus(ctx context.Context, code string, status int) error