Skip to content

Commit b1f2416

Browse files
authored
Merge pull request #7 from arduino/force-os
Added SetOSSuffix function
2 parents c598b80 + 2d6c42b commit b1f2416

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)