mirror of
https://github.com/1f349/mjwt.git
synced 2024-12-22 15:34:08 +00:00
Fix this string slice being nil
This commit is contained in:
parent
994bb4e478
commit
2ecf871565
@ -45,7 +45,7 @@ func (p *PermStorage) OneOf(o *PermStorage) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *PermStorage) Dump() []string {
|
func (p *PermStorage) Dump() []string {
|
||||||
var a []string
|
a := make([]string, 0, len(p.values))
|
||||||
for i := range p.values {
|
for i := range p.values {
|
||||||
a = append(a, i)
|
a = append(a, i)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user