version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.9
    working_directory: /go/src/github.com/asaskevich/govalidator
    steps:
      - checkout
      - run: go get -v -t -d ./...
      - run: go test -v ./...

version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.9
    working_directory: /go/src/github.com/asaskevich/govalidator
    steps:
      - checkout
      - run: diff -u /dev/null <(gofmt -d .)
      - run: go get -v -t -d ./...
      - run: go test -v ./...

Add go fmt as a CI step
Add go fmt as a CI step
