Skip to content

Commit 2d6c42b

Browse files
committed
Added SetOSSuffix function
1 parent e4121da commit 2d6c42b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

properties.go

+5
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ func GetOSSuffix() string {
106106
return osSuffix
107107
}
108108

109+
// SetOSSuffix force the OS suffix to the given value
110+
func SetOSSuffix(suffix string) {
111+
osSuffix = suffix
112+
}
113+
109114
// NewMap returns a new Map
110115
func NewMap() *Map {
111116
return &Map{

0 commit comments

Comments
 (0)