mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-10-16 08:17:32 +00:00
26 lines
395 B
Go
26 lines
395 B
Go
|
// Copyright (c) 2019 David Vogel
|
||
|
//
|
||
|
// This software is released under the MIT License.
|
||
|
// https://opensource.org/licenses/MIT
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"log"
|
||
|
"path/filepath"
|
||
|
)
|
||
|
|
||
|
var inputPath = filepath.Join(".", "..", "..", "output")
|
||
|
|
||
|
func main() {
|
||
|
tiles, err := loadImages(inputPath)
|
||
|
if err != nil {
|
||
|
log.Panic(err)
|
||
|
}
|
||
|
|
||
|
for _, tile := range tiles {
|
||
|
fmt.Printf("%v\n", tile)
|
||
|
}
|
||
|
}
|