Create new type and remove un-used code
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 11s
Create Release & Upload Assets / Upload Assets To Gitea w/ goreleaser (push) Failing after 11s
This commit is contained in:
+11
@@ -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...)
|
||||
}
|
||||
Reference in New Issue
Block a user