hcl: split up package for more control

This commit is contained in:
Fatih Arslan 2015-10-04 20:16:43 +03:00
parent f2aa1fbc4a
commit df82bd3e9c
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package parser package scanner
import "fmt" import "fmt"

View File

@ -1,4 +1,4 @@
package parser package scanner
import ( import (
"bytes" "bytes"

View File

@ -1,4 +1,4 @@
package parser package scanner
import ( import (
"bytes" "bytes"
@ -15,8 +15,8 @@ type token struct {
func TestBool(t *testing.T) { func TestBool(t *testing.T) {
var tokenList = []token{ var tokenList = []token{
{BOOL, "true"}, {token.BOOL, "true"},
{BOOL, "false"}, {token.BOOL, "false"},
} }
// create artifical source code // create artifical source code

View File

@ -1,4 +1,4 @@
package parser package token
import "strconv" import "strconv"