Skip to content

Commit

Permalink
chore: cleanup foo
Browse files Browse the repository at this point in the history
  • Loading branch information
zeljkobekcic committed Feb 19, 2024
1 parent 81a7dc0 commit f8e464f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions grafana/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package grafana

// Auto generated by https://transform.tools/json-to-go
// Input was a simple grafana dashboard to obtaint the needed types
// Was also modified a little

type Dashboad struct {
Inputs []Input `json:"__inputs"`
Elements Elements `json:"__elements"`
Expand Down
1 change: 0 additions & 1 deletion otcdoc/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ func loadRawDataFromTableRow(sTableRow *goquery.Selection) (RawMetricDocumentati
func checkIfTableHasIncorrectStructure(sTable *goquery.Selection) bool {
columnCounter := 0
sTable.Find("thead tr").First().Find("th").Each(func(i int, sTableHeader *goquery.Selection) {
// fmt.Println(sTableHeader.Text()) // TODO: remove this
columnCounter++
},
)
Expand Down

0 comments on commit f8e464f

Please sign in to comment.