mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-10 12:10:23 +01:00
Moved color parsing to common.
This commit is contained in:
parent
560afae6c4
commit
5319e113bf
|
@ -45,9 +45,9 @@ func main() {
|
|||
flag.Parse()
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by the MIT license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
package common
|
||||
|
||||
import (
|
||||
"bufio"
|
Loading…
Reference in New Issue
Block a user