hcl: split up package for more control
This commit is contained in:
parent
f2aa1fbc4a
commit
df82bd3e9c
@ -1,4 +1,4 @@
|
||||
package parser
|
||||
package scanner
|
||||
|
||||
import "fmt"
|
||||
|
@ -1,4 +1,4 @@
|
||||
package parser
|
||||
package scanner
|
||||
|
||||
import (
|
||||
"bytes"
|
@ -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
|
@ -1,4 +1,4 @@
|
||||
package parser
|
||||
package token
|
||||
|
||||
import "strconv"
|
||||
|
Loading…
Reference in New Issue
Block a user