component: Automatically determine names
This commit is contained in:
parent
10df1c3243
commit
e320bb37bb
31 changed files with 84 additions and 113 deletions
|
|
@ -17,8 +17,6 @@ type Meta struct {
|
|||
sc map[string]*Storage
|
||||
}
|
||||
|
||||
func (*Meta) Name() string { return "metadata" }
|
||||
|
||||
// Storage returns a Storage for the instance with the given slug.
|
||||
// When slug is nil, returns a global storage.
|
||||
func (meta *Meta) Storage(slug string) *Storage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue