Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
Remove buffalo/render dependency
Browse files Browse the repository at this point in the history
`github.com/gobuffalo/buffalo/render` has a depedency for
`github.com/mattn/go-sqlite3` which is a CGO application. When running
`go get -u github.com/gobuffalo/packr/...` it requires the user to have
the gcc compiler installed.
  • Loading branch information
steve-mt authored and markbates committed Jan 10, 2018
1 parent 7458c91 commit e75b842
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions example/example.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package example

import (
"fmt"

"github.com/gobuffalo/buffalo/render"
"github.com/gobuffalo/packr"
)

Expand All @@ -22,10 +19,7 @@ func init() {
foo("/templates", packr.NewBox("./templates"))
packr.NewBox("./assets")

r := render.New(render.Options{
TemplatesBox: packr.NewBox("./bar"),
})
fmt.Println(r)
packr.NewBox("./bar")

s := S{}
s.f(packr.NewBox("./sf"))
Expand Down

0 comments on commit e75b842

Please sign in to comment.