Skip to content

Commit

Permalink
Merge pull request #16 from webrpc/gomod
Browse files Browse the repository at this point in the history
Expose as a Go module with //go:embed FS
  • Loading branch information
VojtechVitek authored Apr 4, 2024
2 parents a9d9332 + 8201c3a commit 2f1daf9
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 typescript

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-typescript

go 1.16

0 comments on commit 2f1daf9

Please sign in to comment.