aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-15 00:00:00 +0000
committerGravatar Runxi Yu2025-11-15 00:00:00 +0000
commit2dc35619e7191b62b2081af25ec294cda55a3ff8 (patch)
tree896dbc9a9389c80a8aa29a4b80b9d799c8009db4
parentREADME: Remove satirical line about trillion-dollar pricing (diff)
signature
Remove unnecessary blank line in struct fields
-rw-r--r--obj_commit.go3
-rw-r--r--obj_tag.go3
-rw-r--r--obj_tree.go3
3 files changed, 3 insertions, 6 deletions
diff --git a/obj_commit.go b/obj_commit.go
index 38f24ffc..d40ae784 100644
--- a/obj_commit.go
+++ b/obj_commit.go
@@ -8,8 +8,7 @@ import (
// Commit mirrors the structure of a Git commit object.
type Commit struct {
- Hash Hash
-
+ Hash Hash
Tree Hash
Parents []Hash
Author Ident
diff --git a/obj_tag.go b/obj_tag.go
index f3d96bd1..6d26fe80 100644
--- a/obj_tag.go
+++ b/obj_tag.go
@@ -8,8 +8,7 @@ import (
// Tag models an annotated Git tag object.
type Tag struct {
- Hash Hash
-
+ Hash Hash
Target Hash
TargetType ObjType
Name []byte
diff --git a/obj_tree.go b/obj_tree.go
index 5336cbf2..abf23adc 100644
--- a/obj_tree.go
+++ b/obj_tree.go
@@ -9,8 +9,7 @@ import (
// Tree represents a Git tree object.
type Tree struct {
- Hash Hash
-
+ Hash Hash
Entries []TreeEntry
}