Skip to content

Commit

Permalink
go-astro => tycho
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Jul 19, 2021
1 parent 7dea5b1 commit 624261d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/snowpackjs/go-astro
module github.com/snowpackjs/tycho

go 1.16

Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"strings"

astro "github.com/snowpackjs/go-astro/internal"
tycho "github.com/snowpackjs/tycho/internal"
)

func main() {
Expand Down Expand Up @@ -52,14 +52,14 @@ import Counter from '../components/Counter.jsx'
</html>
`

doc, err := astro.Parse(strings.NewReader(s))
doc, err := tycho.Parse(strings.NewReader(s))

if err != nil {
log.Fatal(err)
}

w := new(strings.Builder)
astro.Render(w, doc)
tycho.Render(w, doc)

fmt.Println(w.String())

Expand Down

0 comments on commit 624261d

Please sign in to comment.