Versions in this module Expand all Collapse all v3 v3.0.1 Feb 23, 2023 Changes in this version + const DBBTCAddressesSchema + const QueryUnusedAddress + const UpdateAddressQuery + var DB = db.DB + func GetAddressCtrl(c *gin.Context) + type BTCAddress struct + AddrPosition int64 + Address string + ID int64 + LinkedArticleID string + LinkedArticleTitle string + Synced bool + Used bool + func GetAddressByArticleID(artId string) (*BTCAddress, error) + func GetAddressByPos(pos int) (*BTCAddress, error) + func GetAddressForArticle(artId string, artTitle string) (*BTCAddress, error) + func GetAllUsedUnsyncedAddresses() ([]*BTCAddress, error) + func GetNextUnused() (*BTCAddress, error) + func (a *BTCAddress) SetSynced() error