internal

command
v3.1.101 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

业务项目

(1) 安装此依赖

命令: go get github.com/richelieu42/chimera/v3

(2) 在main()所在的.go文件中,通过 "import _" 导入一些包
  • jsonKit
  • 业务自己的 config 包

应用进程的退出(exit)

主动退出

不要使用 os.Exit,建议使用 appKit.Exit.

监听退出信号

建议使用 signalKit.MonitorExitSignals,其内部会调用 appKit.Exit.

参考

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳