github.com/sohaha/zlsgo@v1.7.13-0.20240501141223-10dd1a906f76/zstring/s_118.go (about) 1 //go:build !go1.10 2 // +build !go1.10 3 4 package zstring 5 6 import "bytes" 7 8 // Buffer Buffer 9 func Buffer(size ...int) *bytes.Buffer { 10 b := bytes.NewBufferString("") 11 return &b 12 }