gitlab.com/evatix-go/core@v1.3.55/simplewrap/TitleSquareMeta.go (about) 1 package simplewrap 2 3 import ( 4 "fmt" 5 6 "gitlab.com/evatix-go/core/constants" 7 ) 8 9 // TitleSquareMeta 10 // 11 // Example : 12 // - constants.SquareTitleMetaWrapFormat 13 // - "%v: [%v] (%v)" 14 func TitleSquareMeta( 15 title, 16 value, 17 meta interface{}, 18 ) string { 19 return fmt.Sprintf( 20 constants.SquareTitleMetaWrapFormat, 21 title, 22 value, 23 meta) 24 }