在Go中轻松安全地从一种数据类型转换为另一种数据类型
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.
|
- language: go
- env:
- - GO111MODULE=on
- sudo: required
- go:
- - "1.11.x"
- - "1.12.x"
- - tip
- os:
- - linux
- - osx
- - windows
- matrix:
- allow_failures:
- - go: tip
- exclude:
- - os: windows
- go: tip
- fast_finish: true
- script:
- - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then go test -v -race ./...; else make check; fi
|