You can use %% for literal %
%% a literal percent sign; consumes no value
Related Contents:
- Function declaration syntax: things in parenthesis before function name
- When is the init() function run?
- How to multiply duration by integer?
- Difference between := and = operators in Go
- What is a rune?
- How to run test cases in a specified file?
- What does an underscore in front of an import statement mean?
- How to import local packages without gopath
- Does the Go language have function/method overloading?
- What’s the meaning of interface{}?
- How to do one-liner if else statement? [duplicate]
- Why does Go have a “goto” statement? [closed]
- Using forked package import in Go
- How to write log to file
- What’s Go’s equivalent of argv[0]?
- How do I compare strings in GoLang?
- Read text file into string array (and write)
- Check if string is int
- Access a map value using a variable key in a Go template
- Difference between http.Handle and http.HandleFunc?
- Basic HTTP Auth in Go
- How to reduce Go compiled file size?
- How to set GOPRIVATE environment variable
- go test can’t find function in a same package
- Why does fmt.Println inside a goroutine not print a line?
- in Golang, what is the difference between json encoding and marshalling
- How to embed files into Go binaries
- How to read multiple times from same io.Reader
- Always have x number of goroutines running at any time
- Go string to ascii byte array
- Remove path from filename
- How to get a value from map
- Nameless fields in Go structs?
- Call a method from a Go template
- go mod: cannot find module providing package
- Why add “()” after closure body in Golang?
- Is there an efficient way to calculate execution time in golang?
- pass ENV VAR to exec.Command?
- Is there a better dependency injection pattern in golang?
- compile: version “go1.9” does not match go tool version “go1.9.1”
- Accessing struct fields inside a map value (without copying)
- How to add variable to string variable in golang
- How do I reverse a slice in go?
- How to insert multiple data at once
- Golang bad file descriptor
- Can I concurrently write different slice elements
- Why is fasthttp faster than net/http?
- How to convert string to float number [closed]
- How to execute system command with unknown arguments?
- How do I migrate from Dep to Go Modules