(p *profile.Profile, copier profileCopier, opt *plugin.Options)
| 47 | } |
| 48 | |
| 49 | func makeWebInterface(p *profile.Profile, copier profileCopier, opt *plugin.Options) (*webInterface, error) { |
| 50 | settingsFile, err := settingsFileName() |
| 51 | if err != nil { |
| 52 | return nil, err |
| 53 | } |
| 54 | return &webInterface{ |
| 55 | prof: p, |
| 56 | copier: copier, |
| 57 | options: opt, |
| 58 | help: make(map[string]string), |
| 59 | settingsFile: settingsFile, |
| 60 | }, nil |
| 61 | } |
| 62 | |
| 63 | // maxEntries is the maximum number of entries to print for text interfaces. |
| 64 | const maxEntries = 50 |
no test coverage detected
searching dependent graphs…