Versions in this module Expand all Collapse all v0 v0.2.0 May 19, 2024 v0.1.0 May 19, 2024 Changes in this version + const CONTENT_TYPE_X_WWW_FORM_URL_URL_ENCODED + const CONTEXT_TYPE_JSON + type Bring struct + func New(conf Config, logger *slog.Logger) *Bring + func (b *Bring) AddItem(listID string, name, sub string) error + func (b *Bring) GetList(listID string) (*model.ListDetailResponse, error) + func (b *Bring) GetLists() (*model.GetListsResponse, error) + func (b *Bring) GetUserBaseUrl() (string, error) + func (b *Bring) Login() error + type Config struct + ApiKey string + BaseURL string + ClientID string + Country string + DefaultTimeout time.Duration + Password string + User string + func NewConfig(filenames ...string) (Config, error) + type Creds struct + AccessToken string + ExpiresIn int + RefreshToken string + TokenType string + UserID string