ldflags

package
v0.2.8-beta17 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package ldflags @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 center CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	GoFrame string // 编译部署使用:gf版本
	Golang  string // 编译部署使用:golang版本
	Time    string // 编译部署使用:编译时间
}

func Info

func Info(ctx context.Context) *BuildInfo

Info 获取程序编译信息(注意:开发调试时,无法获取到gbuild包的变量信息)

Jump to

Keyboard shortcuts

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