Include types from gonavitia/navitia
This commit is contained in:
parent
82769f923e
commit
24b1102761
157 changed files with 26062 additions and 116 deletions
15
types/journeys_fuzz.go
Normal file
15
types/journeys_fuzz.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// +build gofuzz
|
||||
|
||||
package types
|
||||
|
||||
func FuzzJourney(data []byte) int {
|
||||
j := &Journey{}
|
||||
|
||||
// Let's unmarshal
|
||||
err := j.UnmarshalJSON(data)
|
||||
if err != nil {
|
||||
return 0
|
||||
}
|
||||
|
||||
return 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue