0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 03:35:05 +02:00
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 32e8a6dfd4
fix maybeGroupSegment func, run formatter
2026-04-02 20:01:05 -04:00

14 lines
238 B
Go

// Copyright 2025 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package integration
import "fmt"
func maybeGroupSegment(gid int64) string {
if gid > 0 {
return fmt.Sprintf("group/%d/", gid)
}
return ""
}