bine/torutil/geoipembed
Chad Retz 532dd077a6 Remove code-generated comments made by go-bindata 2018-09-27 12:39:54 -05:00
..
README.md Remove code-generated comments made by go-bindata 2018-09-27 12:39:54 -05:00
bindata.go Remove code-generated comments made by go-bindata 2018-09-27 12:39:54 -05:00
geoipembed.go Added embedded geoip support. Fixes #16 2018-09-27 12:38:02 -05:00

README.md

How to regen

With go-bindata installed and assuming tor-static is present:

go-bindata -pkg geoipembed -prefix ..\..\..\tor-static\tor\src\config ..\..\..\tor-static\tor\src\config\geoip ..\..\..\tor-static\tor\src\config\geoip6

Then delete the public API, delete the unused imports, remove the generated comments at the package level, and put the mod time in for LastUpdated in geoipembed. One day this might all be automated, e.g. download maxmind db ourselves, gen code, update last updated, etc.