You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nikita Tokarchuk 82e1de7216
Add dockerfile for testing
2 years ago
mongox Use the only field type elem to check the content 3 years ago
mongox-testing/database Use named returns for the code style consistency 4 years ago
.gitignore Convert to go modules 6 years ago
LICENSE.md MIT licensed 4 years ago
README.md Add dockerfile for testing 2 years ago
go.mod Bump go mod packages 3 years ago
go.sum Bump go mod packages 3 years ago
testing.Dockerfile Add dockerfile for testing 2 years ago

README.md

mongox-go-driver

testing locally

reqs:

  • mongodb v4.0 or newer run on localhost
  • golang v1.13 or newer

test it by calling go tests

$ go test ./...

testing by using dockerfile

reqs:

  • docker with buildkit
$ DOCKER_BUILDKIT=1 docker build -t mongox-testing -f testing.Dockerfile .