github.com/mattn/anko@v0.1.10/packages/bytesGo17.go (about) 1 // +build go1.7 2 3 package packages 4 5 import ( 6 "bytes" 7 "reflect" 8 9 "github.com/mattn/anko/env" 10 ) 11 12 func bytesGo17() { 13 env.Packages["bytes"]["ContainsRune"] = reflect.ValueOf(bytes.ContainsRune) 14 }