loader

package
v0.0.0-...-66224dc Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package loader : 读取并解析文件到内存变量

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Toml

func Toml(filePath string, v interface{}) error

Toml : 读取 toml 到内存, 调用 github.com/BurntSushi/toml 方法

-------------------

*** author: whmmm ***
*** date: 2021-12-17 16:02 ***

func Yaml

func Yaml(filePath string, v interface{}) error

Yaml : 读取 yaml 变量到内存

-------------------

*** author: whmmm ***
*** date: 2021-12-17 16:01 ***

Types

This section is empty.

Jump to

Keyboard shortcuts

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