From f5c1ac68e5bd6a084ffac6d0fa2e6e4df02e85cf Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Fri, 28 Feb 2025 13:07:29 +0100 Subject: [PATCH] rename --- main.go | 4 ++-- {structure => parse}/ast.go | 2 +- structure/structure.go => parse/tree.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename {structure => parse}/ast.go (98%) rename structure/structure.go => parse/tree.go (99%) diff --git a/main.go b/main.go index 5f0acbc..dae45b6 100644 --- a/main.go +++ b/main.go @@ -4,13 +4,13 @@ import ( "fmt" "os" - "go-mod.ewintr.nl/henk/structure" + "go-mod.ewintr.nl/henk/parse" ) func main() { filePath := "." // Replace with your Go file path - project, err := structure.NewProject(filePath) + project, err := parse.NewProject(filePath) if err != nil { fmt.Println(err) os.Exit(1) diff --git a/structure/ast.go b/parse/ast.go similarity index 98% rename from structure/ast.go rename to parse/ast.go index 0e10d18..566f452 100644 --- a/structure/ast.go +++ b/parse/ast.go @@ -1,4 +1,4 @@ -package structure +package parse import ( "bytes" diff --git a/structure/structure.go b/parse/tree.go similarity index 99% rename from structure/structure.go rename to parse/tree.go index 5c6103f..ac6ee31 100644 --- a/structure/structure.go +++ b/parse/tree.go @@ -1,4 +1,4 @@ -package structure +package parse import ( "fmt"