package main import ( "log" "github.com/therealfakemoot/wikilinks-parser/lexer" ) func main() { _, tokens := lexer.Lex(`[[foo/bar/butts.png]]`) for t := range tokens { log.Printf("%#v\n", t) } }