utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAdmin

func CheckAdmin(ctx context.Context) (e error)

CheckAdmin 驗證是否是 管理員 操作

func GetKeys

func GetKeys() ([]string, error)

GetKeys 返回 網卡 物理地址

func Install

func Install(root, dst, script string, dev bool) (e error)

Install 安裝 檔案

func Merge

func Merge(root, src, dst, script string, dev bool) (e error)

Merge 合併 檔案

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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