config

package
v0.0.0-...-7ee509d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrMailType is an config error type.
	ErrMailType = errors.New("mail type should be only gmail")
)

Functions

func AddToConfig

func AddToConfig() error

AddToConfig adds new user to existed config file.

func GetAccounts

func GetAccounts(reader io.Reader) (accounts.ListAccounts, error)

GetAccounts return account list from config file.

func GetFile

func GetFile() (io.Reader, error)

GetFile return io.Reader for config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL