github.com/mattn/anko@v0.1.10/packages/stringsGo110.go (about)

     1  // +build go1.10
     2  
     3  package packages
     4  
     5  import (
     6  	"reflect"
     7  	"strings"
     8  
     9  	"github.com/mattn/anko/env"
    10  )
    11  
    12  func stringsGo110() {
    13  	env.PackageTypes["strings"] = map[string]reflect.Type{
    14  		"Builder": reflect.TypeOf(strings.Builder{}),
    15  	}
    16  }