Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rad committed May 30, 2016
1 parent ca1c483 commit e54b524
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin-templater/template/templating.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bufio"
"encoding/json"
"github.com/leekchan/gtf"
"gopkg.in/yaml.v2"
"io"
"os"
"path"
Expand All @@ -12,7 +13,6 @@ import (
"strings"
txttmpl "text/template"
"time"
"gopkg.in/yaml.v2"
)

type Templating struct {
Expand Down Expand Up @@ -128,7 +128,6 @@ func toYaml(data interface{}) (string, error) {
return string(res), err
}


func IsType(data interface{}, t string) bool {
dataType := reflect.TypeOf(data)
if dataType == nil {
Expand Down

0 comments on commit e54b524

Please sign in to comment.