util: Run gofmt

This commit is contained in:
Manuel Rüger 2023-06-19 15:24:42 +02:00
parent 31ccfc4039
commit a57ff2363c
3 changed files with 1538 additions and 1537 deletions

File diff suppressed because it is too large Load diff

View file

@ -145,9 +145,9 @@ func TabWidth(currentPos int) int {
// If the line contains tab characters, paddings may be not zero. // If the line contains tab characters, paddings may be not zero.
// currentPos==0 and width==2: // currentPos==0 and width==2:
// //
// position: 0 1 // position: 0 1
// [TAB]aaaa // [TAB]aaaa
// width: 1234 5678 // width: 1234 5678
// //
// width=2 is in the tab character. In this case, IndentPosition returns // width=2 is in the tab character. In this case, IndentPosition returns
// (pos=1, padding=2) // (pos=1, padding=2)
@ -658,9 +658,9 @@ var htmlSpace = []byte("%20")
// URLEscape escape the given URL. // URLEscape escape the given URL.
// If resolveReference is set true: // If resolveReference is set true:
// 1. unescape punctuations // 1. unescape punctuations
// 2. resolve numeric references // 2. resolve numeric references
// 3. resolve entity references // 3. resolve entity references
// //
// URL encoded values (%xx) are kept as is. // URL encoded values (%xx) are kept as is.
func URLEscape(v []byte, resolveReference bool) []byte { func URLEscape(v []byte, resolveReference bool) []byte {

View file

@ -1,3 +1,4 @@
//go:build !appengine && !js
// +build !appengine,!js // +build !appengine,!js
package util package util