comment tweaks

This commit is contained in:
Jeremy Jay 2014-07-18 14:54:29 -04:00
parent fb3e181a62
commit 923679b36c
3 changed files with 5 additions and 5 deletions

View file

@ -163,9 +163,10 @@ func InitTripleStore(name, dbpath string, opts Options) error {
return errors.New("triplestore: name '" + name + "' is not registered")
}
func TripleStores() (t []string) {
func TripleStores() []string {
t := make([]string, 0, len(storeRegistry))
for n := range storeRegistry {
t = append(t, n)
}
return
return t
}