config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigName = ".yagpt-shell"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiKey      string  `mapstructure:"API_KEY"`
	FolderID    string  `mapstructure:"FOLDER_ID"`
	Instruction string  `mapstructure:"INSTRUCTION"`
	Temperature float64 `mapstructure:"TEMPERATURE"`
}

func Read

func Read() *Config

func (*Config) Show

func (c *Config) Show()

Jump to

Keyboard shortcuts

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