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

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