(notes string)
| 180 | } |
| 181 | |
| 182 | func withNotes(notes string) chartOption { |
| 183 | return func(opts *chartOptions) { |
| 184 | opts.Templates = append(opts.Templates, &common.File{ |
| 185 | Name: "templates/NOTES.txt", |
| 186 | ModTime: time.Now(), |
| 187 | Data: []byte(notes), |
| 188 | }) |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | func withDependency(dependencyOpts ...chartOption) chartOption { |
| 193 | return func(opts *chartOptions) { |
no test coverage detected
searching dependent graphs…