settings

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	GithubOrganization   string   `envconfig:"GITHUB_ORGANIZATION"`
	GithubToken          string   `envconfig:"GITHUB_TOKEN"`
	GithubRepository     string   `envconfig:"GITHUB_REPOSITORY"`
	GithubRepositoryPath string   `envconfig:"GITHUB_REPOSITORY_PATH"`
	GithubBranch         string   `envconfig:"GITHUB_BRANCH"`
	WeeklyNamespace      string   `envconfig:"WEEKLY_NAMESPACE"`
	WeeklyCommunity      string   `envconfig:"WEEKLY_COMMUNITY"`
	WeeklyTags           []string `envconfig:"WEEKLY_TAGS"`
	WeeklyImage          string   `envconfig:"WEEKLY_IMAGE"`
}

func NewSettings

func NewSettings() (Settings, error)

Jump to

Keyboard shortcuts

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