Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockResource ¶
NewMockResource generates a fake resource for testing purposes.
Types ¶
type MockResource ¶
type MockResource struct {
// contains filtered or unexported fields
}
func (*MockResource) FetchLinks ¶
func (r *MockResource) FetchLinks() (any, error)
func (*MockResource) FetchName ¶
func (r *MockResource) FetchName() (string, error)
func (*MockResource) FetchTitle ¶
func (r *MockResource) FetchTitle() (string, error)
func (*MockResource) FetchType ¶
func (r *MockResource) FetchType() string
Click to show internal directories.
Click to hide internal directories.