From 481bbad43aa21aa063bc6dfab643715731ca4141 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 12 Apr 2018 15:21:17 -0300 Subject: [PATCH] docs: improved docs --- docs/050-build.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/050-build.md b/docs/050-build.md index d389a1ea0..bcc17ff57 100644 --- a/docs/050-build.md +++ b/docs/050-build.md @@ -38,8 +38,9 @@ builds: # - Commit # - Tag # - Version (Git tag without `v` prefix) - # Date format is `2006-01-02_15:04:05`. You can use `time "2006-01-02"` to - # if you need custom formats. + # Date format is `2006-01-02_15:04:05`. + # You can use the `time` function instead of `Date`, for example: + # `time "2006-01-02"` too if you need custom formats # # Default is `-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}`. ldflags: -s -w -X main.build={{.Version}}