Skip to content

Commit

Permalink
Bumped astikit
Browse files Browse the repository at this point in the history
  • Loading branch information
asticode committed Jan 2, 2020
1 parent 4a1b3fb commit b3d9d75
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions astits/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,28 +200,28 @@ func packets(dmx *astits.Demuxer) (err error) {
func data(dmx *astits.Demuxer) (err error) {
// Determine which data to log
var logAll, logEIT, logNIT, logPAT, logPES, logPMT, logSDT, logTOT bool
if _, ok := dataTypes["all"]; ok {
if _, ok := dataTypes.Map["all"]; ok {
logAll = true
}
if _, ok := dataTypes["eit"]; ok {
if _, ok := dataTypes.Map["eit"]; ok {
logEIT = true
}
if _, ok := dataTypes["nit"]; ok {
if _, ok := dataTypes.Map["nit"]; ok {
logNIT = true
}
if _, ok := dataTypes["pat"]; ok {
if _, ok := dataTypes.Map["pat"]; ok {
logPAT = true
}
if _, ok := dataTypes["pes"]; ok {
if _, ok := dataTypes.Map["pes"]; ok {
logPES = true
}
if _, ok := dataTypes["pmt"]; ok {
if _, ok := dataTypes.Map["pmt"]; ok {
logPMT = true
}
if _, ok := dataTypes["sdt"]; ok {
if _, ok := dataTypes.Map["sdt"]; ok {
logSDT = true
}
if _, ok := dataTypes["tot"]; ok {
if _, ok := dataTypes.Map["tot"]; ok {
logTOT = true
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/asticode/go-astits
go 1.13

require (
github.com/asticode/go-astikit v0.0.10
github.com/asticode/go-astikit v0.0.11
github.com/asticode/go-astilog v1.4.0
github.com/pkg/errors v0.8.1
github.com/pkg/profile v1.4.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/asticode/go-astikit v0.0.10 h1:JXfBlg016brKolJCJzZaJdvrVKprGz63OKsxjG0ghsg=
github.com/asticode/go-astikit v0.0.10/go.mod h1:h4ly7idim1tNhaVkdVBeXQZEE3L0xblP7fCWbgwipF0=
github.com/asticode/go-astikit v0.0.11 h1:ehXPlkacoNJTxiEo5K/oIWYFiQC4GkDn9THWjfumkNc=
github.com/asticode/go-astikit v0.0.11/go.mod h1:h4ly7idim1tNhaVkdVBeXQZEE3L0xblP7fCWbgwipF0=
github.com/asticode/go-astilog v1.4.0 h1:81eNYAC04VPg1b9UXdQe3NCT1EPo9CtGa2UUDnQyvik=
github.com/asticode/go-astilog v1.4.0/go.mod h1:0sGDwdYLRSFVbbvrXLbJC9niyGWL5JGTCEQWFJKHZr0=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down

0 comments on commit b3d9d75

Please sign in to comment.