File: func_go110.go

package info (click to toggle)
golang-github-antchfx-xpath 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: makefile: 2
file content (16 lines) | stat: -rw-r--r-- 191 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// +build go1.10

package xpath

import (
	"math"
	"strings"
)

func round(f float64) int {
	return int(math.Round(f))
}

func newStringBuilder() stringBuilder {
	return &strings.Builder{}
}