mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 17:50:24 +00:00
Use raw string for builtin font
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
1444
buildinfont.go
1444
buildinfont.go
File diff suppressed because it is too large
Load Diff
2
font.go
2
font.go
@@ -52,7 +52,7 @@ func (this *fontManager) loadFont(fontPath string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *fontManager) loadBuildInFont() error {
|
func (this *fontManager) loadBuildInFont() error {
|
||||||
font, err := this.parseFontContent(buildInFont())
|
font, err := this.parseFontContent(builtInFont)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user