3 ms·
import ( "./utils" This is what's known as a relative import, and it's very bad. You want "github.com/johnnye/short/utils", or (better yet) put your base6
by redbad 13y ago
import (
"./utils"
This is what's known as a relative import, and it's very bad. You want "github.com/johnnye/short/utils", or (better yet) put your base62 stuff in package main, since it's just one function.