File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,22 @@ import (
20
20
"io"
21
21
)
22
22
23
- // TODO(api): Populate interface
24
- // TODO(api): Mock interface
23
+ //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 -generate
24
+
25
+ //counterfeiter:generate . File
26
+
27
+ // TODO(api): Populate interface and regenerate mocks
25
28
type File interface {
26
29
Parse (io.Reader ) (Document , error )
27
30
}
28
31
29
- // TODO(api): Populate interface
30
- // TODO(api): Mock interface
32
+ //counterfeiter:generate . Document
33
+
31
34
// Document is an interface satisfied by the following types:
32
35
// - `Proposal` (KEP)
33
36
// - `PRRApproval`
34
37
// - `Receipt` (coming soon)
38
+ // TODO(api): Populate interface and regenerate mocks
35
39
type Document interface {
36
40
Validate () error
37
41
}
You can’t perform that action at this time.
0 commit comments