mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-26 04:00:55 +00:00
16 lines
191 B
Go
16 lines
191 B
Go
// +build go1.10
|
|
|
|
package xpath
|
|
|
|
import (
|
|
"math"
|
|
"strings"
|
|
)
|
|
|
|
func round(f float64) int {
|
|
return int(math.Round(f))
|
|
}
|
|
|
|
func newStringBuilder() stringBuilder{
|
|
return &strings.Builder{}
|
|
}
|