Răsfoiți Sursa

style: format code with Go fmt and Gofumpt

This commit fixes the style issues introduced in 589bf5f according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/8105
deepsource-autofix[bot] 2 săptămâni în urmă
părinte
comite
9bd5123bcf
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      internal/database/release.go

+ 1 - 1
internal/database/release.go

@@ -22,7 +22,7 @@ type Release struct {
 	RepoID           int64
 	Repo             *Repository `gorm:"-" json:"-"`
 	PublisherID      int64
-	Publisher        *User   `gorm:"-" json:"-"`
+	Publisher        *User `gorm:"-" json:"-"`
 	TagName          string
 	LowerTagName     string
 	Target           string