sociallinkssettings

package
v0.146.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SocialLinksSettings

type SocialLinksSettings struct {
	// contains filtered or unexported fields
}

func NewSocialLinksSettings

func NewSocialLinksSettings(db *sql.DB) *SocialLinksSettings
func (s *SocialLinksSettings) GetSocialLink(text string) (*identity.SocialLink, error)
func (s *SocialLinksSettings) GetSocialLinks() (identity.SocialLinks, error)
func (s *SocialLinksSettings) SetSocialLinks(links *identity.SocialLinks) (err error)

Be careful, it removes every row before insertion

func (*SocialLinksSettings) UpdateSocialLinkFromSync added in v0.146.3

func (s *SocialLinksSettings) UpdateSocialLinkFromSync(link *identity.SocialLink) error

Jump to

Keyboard shortcuts

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