config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package config 提供操作配置文件的能力

Index

Constants

View Source
const Filename = ".gobuild.yaml"

Filename 配置文件的文件名

Variables

This section is empty.

Functions

func Init

func Init(wd, name string) error

func Watch

func Watch(wd string, p *message.Printer, logs watch.Logger) error

Watch 监视配置文件

如果配置文件发生变化,那么重启热编译程序; 如果 wd 中不存在配置文件,则向上一级查找。

Types

This section is empty.

Jump to

Keyboard shortcuts

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