Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
cmd/испытание
vendor/github.com/mcandre
README.md
magefile.go
испытание.go
испытание_test.go

README.md

испытание! ("ispitanye!") - test

испытание is a demo of Go support for Unicode in a wide variety of ways. Go boasts solid support for Unicode strings, but this project tests (испытание!) that Go is compatible with Unicode in other aspects projects:

  • strings ✓
  • import paths ✓
  • package names ✓
  • source filenames ✓
  • test filenames ✓
  • function names ✓
  • executable names ✓
  • type names ✓
  • local go docs ✓
  • godoc.org ✗

However, other development tools like git and WLS bash, may feature varying degrees of Unicode support.

EXAMPLE

$ испытание
Испытание!

BUILDTIME REQUIREMENTS

Recommended

  • Mage (e.g., go get github.com/magefile/mage)
  • goimports (e.g. go get golang.org/x/tools/cmd/goimports)
  • golint (e.g. go get github.com/golang/lint/golint)
  • errcheck (e.g. go get github.com/kisielk/errcheck)
  • nakedret (e.g. go get github.com/alexkohler/nakedret)

INSTALL FROM REMOTE GIT REPOSITORY

$ go get github.com/mcandre/toys/go/uniq/...

(Yes, include the ellipsis as well, it's the magic Go syntax for downloading, building, and installing all components of a package, including any libraries and command line tools.)

INSTALL FROM LOCAL GIT REPOSITORY

$ mkdir -p "$GOPATH/src/github.com/mcandre"
$ git clone https://github.com/mcandre/toys.git "$GOPATH/src/github.com/mcandre/toys"
$ cd "$GOPATH/src/github.com/mcandre/toys/go/испытание"
$ git submodule update --init --recursive
$ go install ./...

TEST

$ mage test

LINT

Keep the code tidy:

$ mage lint