Implemented environment type
This commit is contained in:
parent
1268344238
commit
96ac298980
15 changed files with 67 additions and 51 deletions
|
@ -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("]")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue