config

package
v0.0.0-...-71458e1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-2.0 Imports: 5 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 {
	DbURL           string `json:"db_url"`
	CurrentUserName string `json:"current_user_name"`
}

func Read

func Read() (*Config, error)

func (*Config) PrintMe

func (c *Config) PrintMe()

func (*Config) SetUser

func (c *Config) SetUser(name string) error

func (*Config) String

func (c *Config) String() (string, error)

Jump to

Keyboard shortcuts

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