Skip to content

Commit

Permalink
fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jan 7, 2019
1 parent 7d43810 commit d5d3ed5
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 14 deletions.
12 changes: 6 additions & 6 deletions Gopkg.lock

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

14 changes: 7 additions & 7 deletions scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ var (
)

type pluginResults struct {
ID string `json:"id" gorethink:"id,omitempty"`
Data ResultsData `json:"kaspersky" gorethink:"kaspersky"`
ID string `json:"id" structs:"id,omitempty"`
Data ResultsData `json:"kaspersky" structs:"kaspersky"`
}

// Kaspersky json object
Expand All @@ -55,11 +55,11 @@ type Kaspersky struct {

// ResultsData json object
type ResultsData struct {
Infected bool `json:"infected" gorethink:"infected"`
Result string `json:"result" gorethink:"result"`
Engine string `json:"engine" gorethink:"engine"`
Database string `json:"database" gorethink:"database"`
Updated string `json:"updated" gorethink:"updated"`
Infected bool `json:"infected" structs:"infected"`
Result string `json:"result" structs:"result"`
Engine string `json:"engine" structs:"engine"`
Database string `json:"database" structs:"database"`
Updated string `json:"updated" structs:"updated"`
MarkDown string `json:"markdown,omitempty" structs:"markdown,omitempty"`
Error string `json:"error,omitempty" structs:"error,omitempty"`
}
Expand Down

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

2 changes: 1 addition & 1 deletion vendor/golang.org/x/sys/unix/fcntl.go

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

18 changes: 18 additions & 0 deletions vendor/golang.org/x/sys/unix/fcntl_darwin.go

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

0 comments on commit d5d3ed5

Please sign in to comment.