|
|
|
@ -10,6 +10,7 @@ import (
|
|
|
|
|
"log"
|
|
|
|
|
"math/rand"
|
|
|
|
|
"os"
|
|
|
|
|
"path/filepath"
|
|
|
|
|
"strings"
|
|
|
|
|
|
|
|
|
|
"git.fromouter.space/crunchy-rocks/draw2d"
|
|
|
|
@ -42,7 +43,7 @@ func unsplash_init() {
|
|
|
|
|
assert(err)
|
|
|
|
|
|
|
|
|
|
for _, file := range files {
|
|
|
|
|
pics = append(pics, file.Name())
|
|
|
|
|
pics = append(pics, filepath.Join(*unsplashpath, file.Name()))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
log.Println("[unsplash] Loaded!")
|
|
|
|
|