Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
fix to support go1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Nov 24, 2018
1 parent e5a3ad9 commit 4c57da2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

---
language: go
sudo: false
go:
- "1.10"
install:
- go get github.com/shurcooL/vfsgen
- go get -v -t
- "1.11"
env:
- GO111MODULE=on

install: true

script:
- go test -v
- go test -v
after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
2 changes: 1 addition & 1 deletion minitouch.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func drainTouchRequests(conn net.Conn, reqC chan TouchRequest) error {
return err
}

log.Debugf("handle touch requests maxX:%d maxY:%d maxPressure:%d maxContacts:%s", maxX, maxY, maxPressure, maxContacts)
log.Debugf("handle touch requests maxX:%d maxY:%d maxPressure:%d maxContacts:%d", maxX, maxY, maxPressure, maxContacts)
go io.Copy(ioutil.Discard, conn) // ignore the rest output
var posX, posY int
for req := range reqC {
Expand Down

0 comments on commit 4c57da2

Please sign in to comment.