Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Version string `json:"version"` GitCommit string `json:"git_commit"` BuildDate string `json:"build_date"` GoOS string `json:"go_os"` GoArch string `json:"go_arch"` GoVersion string `json:"go_version"` GoMaxProcs int `json:"go_max_procs"` NumCPU int `json:"go_num_cpu"` }
func GetInstance ¶
func GetInstance() Info
func (Info) MarshalLogObject ¶
func (i Info) MarshalLogObject(enc zapcore.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.