File: option.go

package info (click to toggle)
golang-github-jeremija-gosubmit 0.2.8-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 176 kB
  • sloc: makefile: 7
file content (9 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package gosubmit

// type Option func(f *Filler) error

// func AddFile(fieldname string, filename string, contents []byte) Option {
// 	return func(f *Filler) error {
// 		f.AddFile(fieldname, filename, contents)
// 	}
// }