| 1 | package colorscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/ |
| 2 | |
| 3 | import "stringsscip-go gomod github.com/golang/go/src . strings/" |
| 4 | |
| 5 | // Blackf is a convenient helper function to print with black foreground. A |
| 6 | // newline is appended to format by default. |
| 7 | func Blackfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Blackf().(format string, a ...any) { |
| 8 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgBlackscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgBlack., a...) |
| 9 | } |
| 10 | |
| 11 | // BlackString is a convenient helper function to return a string with black |
| 12 | // foreground. |
| 13 | func BlackStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/BlackString().(format string, a ...any) string { |
| 14 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgBlackscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgBlack., a...) |
| 15 | } |
| 16 | |
| 17 | // Bluef is a convenient helper function to print with blue foreground. A |
| 18 | // newline is appended to format by default. |
| 19 | func Bluefscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Bluef().(format string, a ...any) { |
| 20 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgBluescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgBlue., a...) |
| 21 | } |
| 22 | |
| 23 | // BlueString is a convenient helper function to return a string with blue |
| 24 | // foreground. |
| 25 | func BlueStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/BlueString().(format string, a ...any) string { |
| 26 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgBluescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgBlue., a...) |
| 27 | } |
| 28 | |
| 29 | // Cyanf is a convenient helper function to print with cyan foreground. A |
| 30 | // newline is appended to format by default. |
| 31 | func Cyanfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Cyanf().(format string, a ...any) { |
| 32 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgCyanscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgCyan., a...) |
| 33 | } |
| 34 | |
| 35 | // CyanString is a convenient helper function to return a string with cyan |
| 36 | // foreground. |
| 37 | func CyanStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/CyanString().(format string, a ...any) string { |
| 38 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgCyanscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgCyan., a...) |
| 39 | } |
| 40 | |
| 41 | // Greenf is a convenient helper function to print with green foreground. A |
| 42 | // newline is appended to format by default. |
| 43 | func Greenfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Greenf().(format string, a ...any) { |
| 44 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgGreenscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgGreen., a...) |
| 45 | } |
| 46 | |
| 47 | // GreenString is a convenient helper function to return a string with green |
| 48 | // foreground. |
| 49 | func GreenStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/GreenString().(format string, a ...any) string { |
| 50 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgGreenscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgGreen., a...) |
| 51 | } |
| 52 | |
| 53 | // HiBlackf is a convenient helper function to print with hi-intensity black foreground. A |
| 54 | // newline is appended to format by default. |
| 55 | func HiBlackfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiBlackf().(format string, a ...any) { |
| 56 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiBlackscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiBlack., a...) |
| 57 | } |
| 58 | |
| 59 | // HiBlackString is a convenient helper function to return a string with hi-intensity black |
| 60 | // foreground. |
| 61 | func HiBlackStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiBlackString().(format string, a ...any) string { |
| 62 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiBlackscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiBlack., a...) |
| 63 | } |
| 64 | |
| 65 | // HiBluef is a convenient helper function to print with hi-intensity blue foreground. A |
| 66 | // newline is appended to format by default. |
| 67 | func HiBluefscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiBluef().(format string, a ...any) { |
| 68 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiBluescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiBlue., a...) |
| 69 | } |
| 70 | |
| 71 | // HiBlueString is a convenient helper function to return a string with hi-intensity blue |
| 72 | // foreground. |
| 73 | func HiBlueStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiBlueString().(format string, a ...any) string { |
| 74 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiBluescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiBlue., a...) |
| 75 | } |
| 76 | |
| 77 | // HiCyanf is a convenient helper function to print with hi-intensity cyan foreground. A |
| 78 | // newline is appended to format by default. |
| 79 | func HiCyanfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiCyanf().(format string, a ...any) { |
| 80 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiCyanscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiCyan., a...) |
| 81 | } |
| 82 | |
| 83 | // HiCyanString is a convenient helper function to return a string with hi-intensity cyan |
| 84 | // foreground. |
| 85 | func HiCyanStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiCyanString().(format string, a ...any) string { |
| 86 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiCyanscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiCyan., a...) |
| 87 | } |
| 88 | |
| 89 | // HiGreenf is a convenient helper function to print with hi-intensity green foreground. A |
| 90 | // newline is appended to format by default. |
| 91 | func HiGreenfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiGreenf().(format string, a ...any) { |
| 92 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiGreenscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiGreen., a...) |
| 93 | } |
| 94 | |
| 95 | // HiGreenString is a convenient helper function to return a string with hi-intensity green |
| 96 | // foreground. |
| 97 | func HiGreenStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiGreenString().(format string, a ...any) string { |
| 98 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiGreenscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiGreen., a...) |
| 99 | } |
| 100 | |
| 101 | // HiMagentaf is a convenient helper function to print with hi-intensity magenta foreground. |
| 102 | // A newline is appended to format by default. |
| 103 | func HiMagentafscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiMagentaf().(format string, a ...any) { |
| 104 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiMagentascip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiMagenta., a...) |
| 105 | } |
| 106 | |
| 107 | // HiMagentaString is a convenient helper function to return a string with hi-intensity magenta |
| 108 | // foreground. |
| 109 | func HiMagentaStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiMagentaString().(format string, a ...any) string { |
| 110 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiMagentascip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiMagenta., a...) |
| 111 | } |
| 112 | |
| 113 | // HiRedf is a convenient helper function to print with hi-intensity red foreground. A |
| 114 | // newline is appended to format by default. |
| 115 | func HiRedfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiRedf().(format string, a ...any) { |
| 116 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiRedscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiRed., a...) |
| 117 | } |
| 118 | |
| 119 | // HiRedString is a convenient helper function to return a string with hi-intensity red |
| 120 | // foreground. |
| 121 | func HiRedStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiRedString().(format string, a ...any) string { |
| 122 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiRedscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiRed., a...) |
| 123 | } |
| 124 | |
| 125 | // HiYellowf is a convenient helper function to print with hi-intensity yellow foreground. |
| 126 | // A newline is appended to format by default. |
| 127 | func HiYellowfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiYellowf().(format string, a ...any) { |
| 128 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiYellowscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiYellow., a...) |
| 129 | } |
| 130 | |
| 131 | // HiYellowString is a convenient helper function to return a string with hi-intensity yellow |
| 132 | // foreground. |
| 133 | func HiYellowStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiYellowString().(format string, a ...any) string { |
| 134 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiYellowscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiYellow., a...) |
| 135 | } |
| 136 | |
| 137 | // HiWhitef is a convenient helper function to print with hi-intensity white foreground. A |
| 138 | // newline is appended to format by default. |
| 139 | func HiWhitefscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiWhitef().(format string, a ...any) { |
| 140 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgHiWhitescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiWhite., a...) |
| 141 | } |
| 142 | |
| 143 | // HiWhiteString is a convenient helper function to return a string with hi-intensity white |
| 144 | // foreground. |
| 145 | func HiWhiteStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/HiWhiteString().(format string, a ...any) string { |
| 146 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgHiWhitescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgHiWhite., a...) |
| 147 | } |
| 148 | |
| 149 | // Magentaf is a convenient helper function to print with magenta foreground. |
| 150 | // A newline is appended to format by default. |
| 151 | func Magentafscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Magentaf().(format string, a ...any) { |
| 152 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgMagentascip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgMagenta., a...) |
| 153 | } |
| 154 | |
| 155 | // MagentaString is a convenient helper function to return a string with magenta |
| 156 | // foreground. |
| 157 | func MagentaStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/MagentaString().(format string, a ...any) string { |
| 158 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgMagentascip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgMagenta., a...) |
| 159 | } |
| 160 | |
| 161 | // Redf is a convenient helper function to print with red foreground. A |
| 162 | // newline is appended to format by default. |
| 163 | func Redfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Redf().(format string, a ...any) { |
| 164 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgRedscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgRed., a...) |
| 165 | } |
| 166 | |
| 167 | // RedString is a convenient helper function to return a string with red |
| 168 | // foreground. |
| 169 | func RedStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/RedString().(format string, a ...any) string { |
| 170 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgRedscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgRed., a...) |
| 171 | } |
| 172 | |
| 173 | // Whitef is a convenient helper function to print with white foreground. A |
| 174 | // newline is appended to format by default. |
| 175 | func Whitefscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Whitef().(format string, a ...any) { |
| 176 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgWhitescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgWhite., a...) |
| 177 | } |
| 178 | |
| 179 | // WhiteString is a convenient helper function to return a string with white |
| 180 | // foreground. |
| 181 | func WhiteStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/WhiteString().(format string, a ...any) string { |
| 182 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgWhitescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgWhite., a...) |
| 183 | } |
| 184 | |
| 185 | // Yellowf is a convenient helper function to print with yellow foreground. |
| 186 | // A newline is appended to format by default. |
| 187 | func Yellowfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Yellowf().(format string, a ...any) { |
| 188 | colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format, FgYellowscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgYellow., a...) |
| 189 | } |
| 190 | |
| 191 | // YellowString is a convenient helper function to return a string with yellow |
| 192 | // foreground. |
| 193 | func YellowStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/YellowString().(format string, a ...any) string { |
| 194 | return colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format, FgYellowscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/FgYellow., a...) |
| 195 | } |
| 196 | |
| 197 | // colorPrint prints formatted text with the specified color attribute. |
| 198 | // Uses the default configuration for backward compatibility. |
| 199 | func colorPrintscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorPrint().(format string, attribute Attributescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Attribute#, arguments ...any) { |
| 200 | c := Newscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/New().(attribute) |
| 201 | |
| 202 | if !stringsscip-go gomod github.com/golang/go/src . strings/.HasSuffixscip-go gomod github.com/golang/go/src . strings/HasSuffix().(format, "\n") { |
| 203 | format += "\n" |
| 204 | } |
| 205 | |
| 206 | if len(arguments) == 0 { |
| 207 | _, _ = c.Printscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Color#Print().(format) |
| 208 | } else { |
| 209 | _, _ = c.Printfscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Color#Printf().(format, arguments...) |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | // colorString returns a formatted string with the specified color attribute. |
| 214 | // Uses the default configuration for backward compatibility. |
| 215 | func colorStringscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/colorString().(format string, attribute Attributescip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Attribute#, arguments ...any) string { |
| 216 | c := Newscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/New().(attribute) |
| 217 | |
| 218 | if len(arguments) == 0 { |
| 219 | return c.SprintFuncscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Color#SprintFunc().()(format) |
| 220 | } |
| 221 | |
| 222 | return c.SprintfFuncscip-go gomod github.com/nicholas-fedor/shoutrrr . `github.com/nicholas-fedor/shoutrrr/pkg/color`/Color#SprintfFunc().()(format, arguments...) |
| 223 | } |