init
This commit is contained in:
14
models/registry.go
Normal file
14
models/registry.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
func All() []interface{} {
|
||||
return []interface{}{
|
||||
&User{},
|
||||
&Server{},
|
||||
&ServerUser{},
|
||||
&Category{},
|
||||
&Channel{},
|
||||
&ChannelUser{},
|
||||
&Message{},
|
||||
&Attachment{},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user