(context.Context)
| 15 | } |
| 16 | |
| 17 | func (f AGPLFetcher) Fetch(context.Context) (codersdk.AppearanceConfig, error) { |
| 18 | return codersdk.AppearanceConfig{ |
| 19 | AnnouncementBanners: []codersdk.BannerConfig{}, |
| 20 | SupportLinks: codersdk.DefaultSupportLinks(f.docsURL), |
| 21 | DocsURL: f.docsURL, |
| 22 | }, nil |
| 23 | } |
| 24 | |
| 25 | func NewDefaultFetcher(docsURL string) Fetcher { |
| 26 | if docsURL == "" { |
nothing calls this directly
no test coverage detected