config

package
v0.0.0-...-7bd5736 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

*****************************************************************************

* Copyright (c) KylinSoft Co., Ltd.2021-2022. All rights reserved.
* PilotGo is licensed under the Mulan PSL v2.
* You can use this software accodring to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*     http://license.coscl.org.cn/MulanPSL2
* THIS SOFTWARE IS PROVIDED ON AN 'AS IS' BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* See the Mulan PSL v2 for more details.
* Author: zhanghan
* Date: 2021-11-18 13:03:16
* LastEditTime: 2022-04-06 14:22:15
* Description: provide configure yaml functions.
*****************************************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(output io.Writer, configFile string) error

func Load

func Load(file string, config interface{}) error

func MustInit

func MustInit(output io.Writer, conf string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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