Skip to content

Commit

Permalink
Delete trivial logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zieckey committed Mar 21, 2017
1 parent efb9e02 commit 7230e20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chart_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package main

import (
"errors"
"github.com/zieckey/goini"
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"

"github.com/zieckey/goini"
)

const DataPrefix = "Data|"
Expand All @@ -24,7 +25,6 @@ type TemplateArgs struct {
}

func Parse(file string) (tt TemplateArgs, err error) {
log.Printf("Rendering %v", file)
ini := goini.New()
err = ini.ParseFile(file)
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions chart_parser_spline.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package main

import (
"github.com/bitly/go-simplejson"
"github.com/zieckey/goini"
"log"
"strconv"
"strings"

"github.com/bitly/go-simplejson"
"github.com/zieckey/goini"
)

type SplineChart int
Expand Down Expand Up @@ -51,7 +51,7 @@ func (c *SplineChart) Parse(ini *goini.INI, file string) (map[string]string, err
json.Set("DataArray", datas)
b, _ := json.Get("DataArray").Encode()
args["DataArray"] = string(b)
log.Println(args)
//log.Println(args)
return args, nil
}

Expand Down

0 comments on commit 7230e20

Please sign in to comment.