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"

View File

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

View File

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

View File

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