diff options
| author | Eltrac <hi@guhub.cn> | 2025-12-03 14:47:01 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-12-03 14:47:01 +0800 |
| commit | c1f6161d4360578cba00f2a6933b7cf9247622a3 (patch) | |
| tree | b907b66e0beb5da85f3f8b83cb871ef40188bd5d /group.go | |
| parent | 8871615c98bce3c2c3aa871ce4e80126558cb91b (diff) | |
style: run gofmt and remove pointless comments
Diffstat (limited to 'group.go')
| -rw-r--r-- | group.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,8 +20,8 @@ func (e *Engine) Group(prefix string, fn func(*Group)) { // Group.Group creates a nested Group // joining all prefixes of parent groups -func(g *Group) Group(prefix string, fn func(*Group)) { - nested := &Group { +func (g *Group) Group(prefix string, fn func(*Group)) { + nested := &Group{ prefix: joinPath(g.prefix, prefix), engine: g.engine, } |
