Skip to content

Commit

Permalink
[godoc] properly format Rev doc
Browse files Browse the repository at this point in the history
Setup `Rev` field name into the comment so it's properly interpreted by godoc
  • Loading branch information
benjaminch committed Aug 7, 2019
1 parent aa99344 commit 65c0df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pbs_light.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/spf13/viper"
)

// Holds binary revision string
// Rev holds binary revision string
// Set manually at build time using:
// go build -ldflags "-X main.Rev=`git rev-parse --short HEAD`"
// Populated automatically at build / release time via .travis.yml
Expand Down

0 comments on commit 65c0df8

Please sign in to comment.