helper

package
v0.0.0-...-41229de Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(configPath string, object *interface{})

Types

type ConfigObject

type ConfigObject struct {
}

type Helper

type Helper struct{}

Helper 工具

func NewHelper

func NewHelper() *Helper

NewHelper 初始化

func (*Helper) GetRootDirectory

func (h *Helper) GetRootDirectory() string

GetRootDirectory 返回程序开始执行(命令执行所在目录,比如 shall 执行所在的目录) 所在目录的上一级目录 例:/Users/xxx/dev/go/projectweb ps.execute 文件在 projectweb/bin 目录下

Jump to

Keyboard shortcuts

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