From 2d6c42b323b10a068df634b3e261ac0c06cea65f Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 12 Aug 2021 12:22:57 +0200 Subject: [PATCH] Added SetOSSuffix function --- properties.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/properties.go b/properties.go index ab08ef1..d6e2c3a 100644 --- a/properties.go +++ b/properties.go @@ -106,6 +106,11 @@ func GetOSSuffix() string { return osSuffix } +// SetOSSuffix force the OS suffix to the given value +func SetOSSuffix(suffix string) { + osSuffix = suffix +} + // NewMap returns a new Map func NewMap() *Map { return &Map{