Create new type and remove un-used code
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 11s

This commit is contained in:
2025-01-12 19:33:57 -06:00
parent 434d3fed1b
commit 03a47deade
740 changed files with 498069 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
package tml
import "fmt"
// Sprintf works like fmt.Sprintf, but adds the option of using tags to apply colour or text formatting to the written text. For example "<red>some red text</red>".
// A full list of tags is available here: https://github.com/liamg/tml
func Sprintf(input string, a ...interface{}) string {
// parsing cannot fail as the reader/writer are simply for local strings
format, _ := Parse(input)
return fmt.Sprintf(format, a...)
}