Versions in this module Expand all Collapse all v2 v2.0.3 Jan 7, 2023 Changes in this version + const BaseUrl + const LoginUrl + const MaxAuthRedirectCount + const TranTypeIncome + const TranTypePayout + const TranTypeTransfer + type AccountBook struct + AccountInfoMap map[int64]AccountInfo + Accounts []IdName + Categories []Category + Members []IdName + Projects []IdName + Stores []IdName + func (accountBook AccountBook) AccountIdByName(name string) int + func (accountBook AccountBook) CategoryIdByName(name string) int + func (accountBook AccountBook) CategoryIdMap() map[int]Category + func (accountBook AccountBook) MemberIdByName(name string) int + func (accountBook AccountBook) ProjectIdByName(name string) int + func (accountBook AccountBook) StoreIdByName(name string) int + type AccountInfo struct + Currency string + Id int64 + Money float64 + Name string + type Category struct + IsSub bool + SubIds []int + Type int + type Client struct + AccountBookList []IdName + Verbose bool + func New(email, password string) (*Client, error) + func NewFromEnv() (*Client, error) + func (cli *Client) BillEntry(id int, day time.Time, money float64) (string, error) + func (cli *Client) CompareReport(accountId int, begin, end time.Time) ([]CompareInfo, error) + func (cli *Client) CompareReportByPage(accountId int, begin, end time.Time, page int) (CompareReportResponse, error) + func (cli *Client) DailyReport(begin, end time.Time, params url.Values) (DailyReport, error) + func (cli *Client) ExportToBuffer() ([]byte, error) + func (cli *Client) ExportToFile(filename string) error + func (cli *Client) Get(url string) (resp *http.Response, err error) + func (cli *Client) GetExportLink() (string, error) + func (cli *Client) MonthIncomeAndPayoutMap(beginYear, endYear int) (map[int]IncomeAndPayout, error) + func (cli *Client) PostForm(url string, data url.Values) (resp *http.Response, err error) + func (cli *Client) SwitchAccountBook(name string) error + func (cli *Client) SyncAccountBookList() error + func (cli *Client) SyncAccountInfoList() error + func (cli *Client) SyncMetaInfo() error + func (cli *Client) TallyCreate(tally Tally, when time.Time) error + func (cli *Client) TallyDelete(tranIds ...string) error + func (cli *Client) TallyList(begin, end time.Time, data url.Values) (TallyResponseInfo, error) + func (cli *Client) TallyUpdate(tally Tally, updateData url.Values) error + type CompareInfo struct + Balance float32 + Date DateInfo + DayBalance float32 + Money struct{ ... } + type CompareReportResponse struct + List []CompareInfo + type DailyReport struct + InAmount float32 + InList DailyReportList + MaxIn float32 + MaxOut float32 + OutAmount float32 + OutList DailyReportList + Symbol string + type DailyReportList []struct + type DateInfo struct + Date int + Day int + Hours int + Minutes int + Month int + Seconds int + Time int + TimezoneOffset int + Year int + type IdName struct + Id int + Name string + type IncomeAndPayout struct + Income float32 + Payout float32 + type PageInfo struct + PageCount int + PageNo int + type Tally struct + Account int + BuyerAcount string + BuyerAcountId int + CategoryIcon string + CategoryId int + CategoryName string + Content string + CurrencyAmount float32 + Date DateInfo + ImgId int + ItemAmount float32 + MemberId int + MemberName string + Memo string + ProjectId int + ProjectName string + Relation string + SellerAcount string + SellerAcountId int + StoreId int + TranId int + TranName string + TranType int + Url string + func (t Tally) ToUpdateParams() url.Values + type TallyGroup struct + List []Tally + type TallyResponseInfo struct + BeginDate string + EndDate string + Groups []TallyGroup + PageCount int + PageNo int + Symbol string + type VCCodeInfo struct + Uid string + VCCode string Other modules containing this package github.com/a180285/feidee