PrintB returns string

This commit is contained in:
Christian Goll
2022-04-14 11:43:02 +02:00
parent f9848455c7
commit edc7c04bc2
3 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
package node
import (
"fmt"
"regexp"
"strings"
)
@@ -254,8 +255,8 @@ func (ent *Entry) PrintComb() string {
/*
same as GetB()
*/
func (ent *Entry) PrintB() bool {
return ent.GetB()
func (ent *Entry) PrintB() string {
return fmt.Sprintf("%t", ent.GetB())
}
/*