command
Version:
v0.5.5
Opens a new window with list of versions in this module.
Published: Sep 26, 2023
License: MIT
Opens a new window with license information.
Imports: 3
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 > revision.txt
$ git describe --tags > build.txt
$ go run .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.