Skip to content

Commit

Permalink
Update to go modules (#38)
Browse files Browse the repository at this point in the history
By @mcristina422:

* update to go modules
  • Loading branch information
mcristina422 authored and grafov committed Oct 1, 2019
1 parent 929d044 commit 30644e5
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 59 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ language: go

# Versions of go that are explicitly supported.
go:
- 1.7.5
- 1.8
- 1.9
- 1.13.x

# Required for coverage.
before_install:
Expand Down
8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module github.com/grafana-tools/sdk

go 1.13

require (
github.com/gosimple/slug v1.1.1
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be // indirect
)
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github.com/gosimple/slug v1.1.1 h1:fRu/digW+NMwBIP+RmviTK97Ho/bEj/C9swrCspN3D4=
github.com/gosimple/slug v1.1.1/go.mod h1:ER78kgg1Mv0NQGlXiDe57DpCyfbNywXXZ9mIorhxAf0=
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be h1:ta7tUOvsPHVHGom5hKW5VXNc2xZIkfCKP8iaqOyYtUQ=
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be/go.mod h1:MIDFMn7db1kT65GmV94GzpX9Qdi7N/pQlwb+AN8wh+Q=
4 changes: 2 additions & 2 deletions panel.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ type (
Op string `json:"op,omitempty"`
Fill bool `json:"fill"`
Line bool `json:"line"`
// hexidecimal color (e.g. #629e51, only when ColorMode is "custom")
// hexadecimal color (e.g. #629e51, only when ColorMode is "custom")
FillColor string `json:"fillColor,omitempty"`
// hexidecimal color (e.g. #629e51, only when ColorMode is "custom")
// hexadecimal color (e.g. #629e51, only when ColorMode is "custom")
LineColor string `json:"lineColor,omitempty"`
// left or right
Yaxis string `json:"yaxis,omitempty"`
Expand Down
108 changes: 54 additions & 54 deletions vendor/github.com/gosimple/slug/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30644e5

Please sign in to comment.