gitlab.com/evatix-go/core@v1.3.55/coretests/PrintNameValue.go (about)

     1  package coretests
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/internal/msgformats"
     7  )
     8  
     9  func PrintNameValue(header string, any interface{}) {
    10  	toString := ToStringNameValues(any)
    11  
    12  	fmt.Printf(
    13  		msgformats.PrintValuesFormat,
    14  		header,
    15  		any,
    16  		toString)
    17  }