miqt/cmd/genbindings/util.go

14 lines
146 B
Go
Raw Normal View History

package main
import (
"fmt"
)
func maybeSuffix(counter int) string {
if counter == 0 {
return ""
}
return fmt.Sprintf("%d", counter+1)
}