qconfig

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get added in v0.0.9

func Get[T any](key string, defValue T) T

Get

@Description: 获取配置
@param key
@param defValue
@return T

func Save added in v0.0.9

func Save() error

Save

@Description: 保存文件
@return error

func Set added in v0.0.9

func Set(key string, value any)

Set

@Description: 设置配置
@param key
@param value

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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