textField builds a ProjectV2Field (TEXT) fixture with the given id and name.
(id, name string)
| 10 | |
| 11 | // textField builds a ProjectV2Field (TEXT) fixture with the given id and name. |
| 12 | func textField(id, name string) ProjectField { |
| 13 | f := ProjectField{TypeName: "ProjectV2Field"} |
| 14 | f.Field.ID = id |
| 15 | f.Field.Name = name |
| 16 | f.Field.DataType = "TEXT" |
| 17 | return f |
| 18 | } |
| 19 | |
| 20 | // singleSelectField builds a ProjectV2SingleSelectField fixture with the given |
| 21 | // id, name, and options (alternating id/name pairs are passed as a slice). |
no outgoing calls
no test coverage detected