From 503f2f1bbc69be553d04c621c7ec33931cc1f57d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Nov 2025 00:00:00 +0000 Subject: Add a little bit more of documentation --- ident.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ident.go') diff --git a/ident.go b/ident.go index b5cb38b2..50676a45 100644 --- a/ident.go +++ b/ident.go @@ -12,9 +12,14 @@ import ( // Ident represents a Git identity (author/committer/tagger). type Ident struct { - Name []byte - Email []byte - WhenUnix int64 + // Name represents the person's name. + Name []byte + // Email represents the person's email. + Email []byte + // WhenUnix represents the timestamp as a Unix time. + // This value is in UTC. + WhenUnix int64 + // The timezone offset in minutes. OffsetMinutes int32 } -- cgit v1.3.1-10-gc9f91