| 24 | } |
| 25 | |
| 26 | type Release struct { |
| 27 | Name string |
| 28 | TagName string |
| 29 | IsDraft bool |
| 30 | IsImmutable bool `graphql:"immutable"` |
| 31 | IsLatest bool |
| 32 | IsPrerelease bool |
| 33 | CreatedAt time.Time |
| 34 | PublishedAt time.Time |
| 35 | } |
| 36 | |
| 37 | func (r *Release) ExportData(fields []string) map[string]interface{} { |
| 38 | return cmdutil.StructExportData(r, fields) |
nothing calls this directly
no outgoing calls
no test coverage detected