mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 09:40:23 +00:00
fixed goreportcard stuff
This commit is contained in:
2
char.go
2
char.go
@@ -14,7 +14,7 @@ type asciiChar struct {
|
||||
}
|
||||
|
||||
// Creates a new ascii character
|
||||
func NewAsciiChar(font *font, char rune) (*asciiChar, error) {
|
||||
func newAsciiChar(font *font, char rune) (*asciiChar, error) {
|
||||
// If not ascii, throw an error
|
||||
if char < 0 || char > 127 {
|
||||
return nil, errors.New("Not Ascii")
|
||||
|
||||
Reference in New Issue
Block a user