mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2025-01-11 09:20:17 +01:00
Moved color parsing to common.
This commit is contained in:
parent
560afae6c4
commit
5319e113bf
@ -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"
|
Loading…
Reference in New Issue
Block a user