command
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Feb 28, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Go 1.16 から追加された embed パッケージを利用して内部の変数に外部ファイルデータを埋め込むサンプルです.
Commands:
$ git describe --tags --abbrev=0 > version.txt
$ git rev-list -1 HEAD >> version.txt
$ git describe --tags >> version.txt
$ go run -race .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.