Mockery Example Save

Advanced Example for mockery

Project README

Mockery-example

Example case for mockery issue #128 filed with the golang tool "mockery".

Get it

go get github.com/jaytaylor/mockery-example

Run it

go run main.go

Sample output:

$ go run main.go
common prefix: {
  Prefix: "2017-01-01"
}
content: {
  Key: "foo-object"
}

Run tests

go test -v ./...

Sample output:

$ go test -v ./...
=== RUN   TestS3Mock
--- PASS: TestS3Mock (0.00s)
    main_test.go:41: common prefix: {
          Prefix: "2017-01-01"
        }
PASS
ok      github.com/jaytaylor/mockery-example    0.222s
?       github.com/jaytaylor/mockery-example/mocks  [no test files]
Open Source Agenda is not affiliated with "Mockery Example" Project. README Source: jaytaylor/mockery-example
Stars
38
Open Issues
0
Last Commit
7 years ago

Open Source Agenda Badge

Open Source Agenda Rating