1
0
mirror of https://bitbucket.org/s_l_teichmann/mtsatellite synced 2025-06-26 21:30:46 +02:00

Moved color parsing to common.

This commit is contained in:
Sascha L. Teichmann 2014-09-14 00:02:04 +02:00
parent 560afae6c4
commit 5319e113bf
3 changed files with 3 additions and 3 deletions
cmd/tilemapper
colors.txt
common

@ -45,9 +45,9 @@ func main() {
flag.Parse() flag.Parse()
var err error var err error
var colors *Colors var colors *common.Colors
if colors, err = ParseColors(colorsfile); err != nil { if colors, err = common.ParseColors(colorsfile); err != nil {
log.Fatalf("Cannot open color file: %s", err) log.Fatalf("Cannot open color file: %s", err)
} }

@ -2,7 +2,7 @@
// Use of this source code is governed by the MIT license // Use of this source code is governed by the MIT license
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
package main package common
import ( import (
"bufio" "bufio"