sociallinkssettings

package
v0.115.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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) GetSocialLinks() (identity.SocialLinks, error)
func (s *SocialLinksSettings) SetSocialLinks(links *identity.SocialLinks) (err error)

Be careful, it removes every row except static links (__twitter, etc.) before insertion

Jump to

Keyboard shortcuts

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