feat(smalltrip,middleware): check interface of directives struct
This commit is contained in:
@@ -142,6 +142,8 @@ type directives struct {
|
|||||||
staleIfError *time.Duration
|
staleIfError *time.Duration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ fmt.Stringer = directives{}
|
||||||
|
|
||||||
func (d directives) String() string {
|
func (d directives) String() string {
|
||||||
ds := []string{}
|
ds := []string{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user