conf

package
Version: v0.0.0-...-352e25d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package conf 从配置文件(JSON格式)中加载配置。

Index

Constants

This section is empty.

Variables

View Source
var Options struct {
	Port             int  // 端口
	AutoOpenBrowser  bool // 是否自动打开浏览器
	DocumentsService []struct {
		Project string // 项目标题
		Path    string // 项目文档目录
	}
}

Options 配置内容

Functions

func Load

func Load(filepath string)

Load load configuration from .json file

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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