conf

package
v0.0.0-...-e2c1ea0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Provides interfaces to refer the configuration settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conffile string) error

Initialize the conf package. This function must be called before any other functions are called. When the argument is an empty string, the default configuration file will be loaded.

Even if the specified file does not exist, the default values are prepared.

func RepoBase

func RepoBase() string

Returns the reopsitory base directory.

func RepoName

func RepoName() string

Returns the repository name.

func RepoType

func RepoType() types.RepoType

Retruns the repository type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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