peridot/vendor/github.com/antchfx/xpath/func_go110.go

17 lines
191 B
Go
Raw Normal View History

2022-07-07 20:11:50 +00:00
// +build go1.10
package xpath
import (
"math"
"strings"
)
func round(f float64) int {
return int(math.Round(f))
}
func newStringBuilder() stringBuilder{
return &strings.Builder{}
}