Skip to content

Commit

Permalink
Expose as Go module with //go:embed FS
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Apr 4, 2024
1 parent a0e2a50 commit 812ff41
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 golang

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

go 1.16

0 comments on commit 812ff41

Please sign in to comment.