chore: remove trailing newlines across packages
This commit is contained in:
@@ -9,4 +9,3 @@ import (
|
||||
var Module = fx.Options(
|
||||
fx.Provide(service.NewAuditService),
|
||||
)
|
||||
|
||||
|
||||
@@ -33,4 +33,3 @@ func RequestInfoFromContext(ctx context.Context) (ip string, userAgent string) {
|
||||
}
|
||||
return ip, userAgent
|
||||
}
|
||||
|
||||
|
||||
@@ -5,4 +5,3 @@ import "go.uber.org/fx"
|
||||
var Module = fx.Options(
|
||||
fx.Provide(Load),
|
||||
)
|
||||
|
||||
|
||||
@@ -40,4 +40,3 @@ func acceptsHTML(c *gin.Context) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
@@ -149,4 +149,3 @@ func formatDate(dateStr string) string {
|
||||
}
|
||||
return t.Format("Jan 2, 2006")
|
||||
}
|
||||
|
||||
|
||||
@@ -4,4 +4,3 @@ import "embed"
|
||||
|
||||
//go:embed *.gohtml anime/*.gohtml components/*.gohtml
|
||||
var templateFS embed.FS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user