(c *stdapi.Context)
| 204 | } |
| 205 | |
| 206 | func (s *Server) BuildExport(c *stdapi.Context) error { |
| 207 | if err := s.hook("BuildExportValidate", c); err != nil { |
| 208 | return err |
| 209 | } |
| 210 | |
| 211 | app := c.Var("app") |
| 212 | id := c.Var("id") |
| 213 | w := c |
| 214 | |
| 215 | err := s.provider(c).WithContext(c.Context()).BuildExport(app, id, w) |
| 216 | if err != nil { |
| 217 | return err |
| 218 | } |
| 219 | |
| 220 | return nil |
| 221 | } |
| 222 | |
| 223 | func (s *Server) BuildGet(c *stdapi.Context) error { |
| 224 | if err := s.hook("BuildGetValidate", c); err != nil { |
nothing calls this directly
no test coverage detected