diff --git a/core.go b/core.go new file mode 100644 index 000000000..b4aac7dea --- /dev/null +++ b/core.go @@ -0,0 +1,12 @@ +package substrait + +import "embed" + +// Add all directories which should be exposed in below +// +//go:embed extensions/* +var substraitFS embed.FS + +func GetSubstraitFS() embed.FS { + return substraitFS +} diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..4e27b385e --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/substrait-io/substrait + +go 1.22.0