Implemented environment type

This commit is contained in:
Eduard Urbach 2025-02-21 17:35:42 +01:00
parent 1268344238
commit 96ac298980
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 67 additions and 51 deletions

View file

@ -6,11 +6,11 @@ import (
)
// CreateLabel creates a label that is tied to this function by using a suffix.
func (f *Function) CreateLabel(prefix string, count int) string {
func (f *Function) CreateLabel(prefix string, count uint16) string {
tmp := strings.Builder{}
tmp.WriteString(prefix)
tmp.WriteString(" ")
tmp.WriteString(strconv.Itoa(count))
tmp.WriteString(strconv.FormatUint(uint64(count), 10))
tmp.WriteString(" [")
tmp.WriteString(f.UniqueName)
tmp.WriteString("]")