Skip to content

Commit

Permalink
Expose as a Go module with //go:embed FS (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek authored Apr 4, 2024
1 parent 62b5fa3 commit c7c8806
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions embed.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package javascript

import "embed"

//go:embed *.go.tmpl
var FS embed.FS
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/webrpc/gen-javascript

go 1.16

0 comments on commit c7c8806

Please sign in to comment.