17 lines
202 B
Go
17 lines
202 B
Go
package main
|
|
|
|
import (
|
|
"io/ioutil"
|
|
"os"
|
|
|
|
"github.com/localhots/punk/lexer"
|
|
)
|
|
|
|
func main() {
|
|
f, _ := os.Open("test.json")
|
|
b, _ := ioutil.ReadAll(f)
|
|
|
|
lex := lexer.New("foo", string(b))
|
|
lex.Run()
|
|
}
|