SetFileName sets the file name.
(n string)
| 1007 | |
| 1008 | // SetFileName sets the file name. |
| 1009 | func SetFileName(n string) SetFileFunc { |
| 1010 | return func(f *File) { |
| 1011 | f.SetName(n) |
| 1012 | } |
| 1013 | } |
| 1014 | |
| 1015 | // SetFileFieldName sets the file's field name. |
| 1016 | func SetFileFieldName(p string) SetFileFunc { |