config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

func New

func New(filename string) (*Config, error)

func (*Config) ArticleID

func (c *Config) ArticleID() int32
func (c *Config) ImageLinks() map[string]string

func (*Config) Save

func (c *Config) Save() error

func (*Config) SetArticleID

func (c *Config) SetArticleID(id int32)
func (c *Config) SetImageLinks(links map[string]string)

Jump to

Keyboard shortcuts

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