mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
* Update to go 1.19 * Update dependencies * Update cross-compile script * Add missing targets to cross-compile-all * Update cache action to remove warning
17 lines
191 B
Go
17 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{}
|
|
}
|