satyrius / gonx

Nginx access log parser for Golang
MIT License
355 stars 85 forks source link

Fixing reader creation logic in examples #21

Closed mccv closed 9 years ago

mccv commented 9 years ago

Previously the creation of an actual file used := to assign the file and err. This shadowed the var declaration of file, leaving it uninitialized and causing seg faults when the scanner tried to read data.

satyrius commented 9 years ago

Thank you for pull request! Could you drop binaries committed by accident? Then it will be merged to master.

mccv commented 9 years ago

ugh, sorry. Done.