first version
This commit is contained in:
16
data/data.go
Normal file
16
data/data.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package data
|
||||
|
||||
type Provider interface {
|
||||
Categories() []Category
|
||||
}
|
||||
|
||||
type Category interface {
|
||||
Title() string
|
||||
Links() []Link
|
||||
}
|
||||
|
||||
type Link interface {
|
||||
Title() string
|
||||
URL() string
|
||||
Description() string
|
||||
}
|
||||
Reference in New Issue
Block a user