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"
|
import "fmt"
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package parser
|
package scanner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
@ -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
|
@ -1,4 +1,4 @@
|
|||||||
package parser
|
package token
|
||||||
|
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user