github.com/jacobsoderblom/buffalo@v0.11.0/buffalo/cmd/filetests/generate_resource_plural.json (about)

     1  [{
     2      "path": "actions/cars.go",
     3      "contains": [
     4        "func (v CarsResource) List(c buffalo.Context) error {",
     5        "func (v CarsResource) Destroy(c buffalo.Context) error {",
     6        "type CarsResource struct {"
     7      ]
     8    },
     9    {
    10      "path": "actions/app.go",
    11      "contains": [
    12        "app.Resource(\"/cars\", CarsResource{})"
    13      ]
    14    },
    15    {
    16      "path": "actions/cars_test.go",
    17      "contains": [
    18        "func (as *ActionSuite) Test_CarsResource_List",
    19        "func (as *ActionSuite) Test_CarsResource_Show",
    20        "func (as *ActionSuite) Test_CarsResource_Create"
    21      ]
    22    }
    23  ]