Standard library / go/token
go/token.SUB_ASSIGN
Operator or delimiter '-='. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: '-=\n'.
Formal Syntax & Structure
go syntaxgo
const SUB_ASSIGN TokenWorking Example
Example Snippetgo
package main
import ( "fmt" "go/token")
func main() { fmt.Println(token.SUB_ASSIGN.String()) }