From 50778761066d569c55c1de5fa4d8a52761e505ae Mon Sep 17 00:00:00 2001 From: Raum0x2A Date: Thu, 6 May 2021 00:51:00 -0600 Subject: [PATCH] Minor changes --- convert.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/convert.go b/convert.go index 41dacf7..65d103c 100644 --- a/convert.go +++ b/convert.go @@ -8,11 +8,8 @@ import ( ) /* - The maths are all thanks to: - Xainesworld - - YT Channel - https://www.youtube.com/channel/UCzTB8EBVJWkzJi2sQjdBv9g - - Video: https://www.youtube.com/watch?v=xmZbkTahw4w - - Website: https://www.xainesworld.com/ + Xainesworld Video: https://www.youtube.com/watch?v=xmZbkTahw4w + Fandom Wiki: https://nomanssky.fandom.com/wiki/Portal_address */ /* @@ -63,7 +60,7 @@ func P2gc(p string) (gc string, err error) { gc = fmt.Sprintf("%04X:%04X:%04X:%04X", coord[3], coord[1], coord[2], coord[0]) } else { // if len(p) != 12 return an error - return "", errors.New("A 12char HEX string is required. example: 006afa556c30") + return "", errors.New("a 12char HEX string is required. example: 006afa556c30") } return // return formated string }