mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-23 04:21:51 -07:00
feat: native import & export
This commit is contained in:
parent
1d02cede49
commit
7b0cff0a07
13 changed files with 645 additions and 2 deletions
|
|
@ -327,3 +327,11 @@ func ParseBool(s string) (value, ok bool) {
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
func FlattenAliases(aliases []models.Alias) []string {
|
||||
ret := make([]string, len(aliases))
|
||||
for i := range aliases {
|
||||
ret[i] = aliases[i].Alias
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue