Skip to content

Commit

Permalink
feat: export starport tpl as a Go module (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgooz authored Aug 3, 2021
1 parent 3efa695 commit d1c6fd8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions flutter.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package flutter

import (
"embed"
"io/fs"
)

//go:embed starport_template/* starport_template/**
var app embed.FS

// Boilerplate is a flutter app starter for Cosmos SDK chains.
func Boilerplate() fs.FS {
f, _ := fs.Sub(app, "starport_template")
return f
}
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/tendermint/flutter

go 1.16

0 comments on commit d1c6fd8

Please sign in to comment.