Skip to content

Commit e81098f

Browse files
Merge pull request #161 from abhijitWakchaure/master
add go.mod and version API
2 parents 362052b + f931eda commit e81098f

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v0.15.1

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/project-flogo/contrib
2+
3+
go 1.18

version.go

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package contrib
2+
3+
import _ "embed"
4+
5+
//go:embed VERSION
6+
var version string
7+
8+
// Version will return the release version
9+
func Version() string {
10+
return version
11+
}

0 commit comments

Comments
 (0)