()
| 125 | } |
| 126 | |
| 127 | func (a *Application) GetData() []byte { |
| 128 | data, err := json.MarshalIndent(a, "", "\t") |
| 129 | if err != nil { |
| 130 | sentry.CaptureException(err) |
| 131 | log.Fatalf("Could not marshal Application data: %s", err.Error()) |
| 132 | } |
| 133 | |
| 134 | return data |
| 135 | } |
| 136 | |
| 137 | // FileName takes application issue number and project name and turn it |
| 138 | // into a file path. This will always be unique because it is relying on |
no test coverage detected