~evanj/cms

ref: 715dccc30b27b8e6bdd6330ff3d106e66f577087 cms/internal/m/hook/hook.go -rw-r--r-- 135 bytes
715dccc3Evan M Jones Fix(new*List): Remove error, remove panic when list is of size zero. 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
package hook

type Hook interface {
	ID() string
	URL() string
}

type HookList interface {
	List() []Hook
	More() bool
	Last() Hook
}