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

     1  package coretests
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"gitlab.com/evatix-go/core/constants"
     7  )
     8  
     9  func ToStringValues(any interface{}) string {
    10  	if any == nil {
    11  		return constants.NilAngelBracket
    12  	}
    13  
    14  	return fmt.Sprintf(constants.SprintValueFormat, any)
    15  }