go-rfc2616/sp/rune.go

9 lines
197 B
Go

package sp
// RuneIs return whether the rune is a 'SP' (spacing) character, as defined by IETF RFC-2616.
//
// SP = <US-ASCII SP, space (32)>
func RuneIs(value rune) bool {
return ' ' == value
}