mirror of
https://github.com/foomo/shop.git
synced 2025-10-16 12:35:39 +00:00
minor fix
This commit is contained in:
parent
21b28cf0c3
commit
e535cdba32
@ -8,11 +8,12 @@ import (
|
||||
|
||||
type Callers []string
|
||||
|
||||
func (c Callers) String() {
|
||||
func (c Callers) String() string {
|
||||
s := ""
|
||||
for i, caller := range c {
|
||||
s += caller + utils.IteString(i != len(c)-1, "\n", "")
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
// WhoCalledMe returns a string slice containing all calling functions of the stack trace
|
||||
|
||||
Loading…
Reference in New Issue
Block a user