diff options
| author | Josh Bleecher Snyder <[email protected]> | 2018-01-25 15:59:00 -0800 |
|---|---|---|
| committer | Josh Bleecher Snyder <[email protected]> | 2018-01-25 15:59:00 -0800 |
| commit | cf2379295a47097438e272e1df11458a82d6d00a (patch) | |
| tree | 913e560f85edcfcc9ec744893840bf7b34de18d7 /signature.go | |
| parent | 432a164805a43a5ee0df15f7939dc771fc8d4fbd (diff) | |
signature: improve Signature.Offset docs
Use standard godoc style; be more precise.
Diffstat (limited to 'signature.go')
| -rw-r--r-- | signature.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/signature.go b/signature.go index 16964d2..220fe57 100644 --- a/signature.go +++ b/signature.go @@ -26,7 +26,7 @@ func newSignatureFromC(sig *C.git_signature) *Signature { } } -// the offset in mintes, which is what git wants +// Offset returns the time zone offset of v.When in minutes, which is what git wants. func (v *Signature) Offset() int { _, offset := v.When.Zone() return offset / 60 |
