farmsettings

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWiki

func AddWiki(name, path, domain, wikipath, siteName string) error

func CheckWiki

func CheckWiki(path, name, domain, wikiPath string) (bool, bool, error)

func CreateYaml

func CreateYaml(name, domain string, path *string) error

func GenerateWikisYaml

func GenerateWikisYaml(filePath, name, domain string) (string, error)

func ReadWikisYaml

func ReadWikisYaml(filePath string) ([]string, []string, []string, error)

func RemoveWiki

func RemoveWiki(name, path string) error

Types

type Wiki

type Wiki struct {
	ID   string `yaml:"id"`
	URL  string `yaml:"url"`
	NAME string `yaml:"name"`
}

type Wikis

type Wikis struct {
	Wikis []Wiki `yaml:"wikis"`
}

Jump to

Keyboard shortcuts

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