michelangelo

module
Version: v0.0.0-...-a73a212 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0

README

michelangelo

介绍

michelangelo 将持续更新. 该项目是一个工具箱.

组件
优雅启动

graceful 可以开启一个可控的应用

	app := NewIApplication(
		WithCmd("go"),
		WithPrintCh(),
		WithName("go app"),
		WithContext(context.Background()),
		WithWorkPath("./"),
		WithTimeOut(5*time.Second))
	err := app.Run("env")
	if err != nil {
		fmt.Print(err)
	}
日志

log 记录日志

	New(nil)
	log.Print(GetLevel())
	Debug("debug")
	Info("info")
	Error("error")

Directories

Path Synopsis
distributed

Jump to

Keyboard shortcuts

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