Commit Graph

10 Commits (665944b4445ae32eac66f4812297dff2b364add3)

Author SHA1 Message Date
jim teeuwen 665944b444 Remove some unneccesary code bits. 2012-06-07 23:28:16 +02:00
jim teeuwen 384e0cafe9 Added -u flag. When this is supplied to the program, no compression of the input data will take place. This also means the generated source code changes from a function to a global variable. The function is only there because it has to decompress the binary data. When no compression is used, this is obviously not necessary. Default behaviour is still the same (with compression) so existing code using this program will not break. Fixed README to reflect new behaviour. Added new testdata examples for both compressed and uncompressed output. 2012-03-28 01:39:01 +02:00
jim teeuwen 0450ba8421 Change signature of generated function to only return the decompressed byte slice. The error value is removed. Instead the function will panic when a decompression error occurs. This allows us to assign the data to global variables were necessary. A decompression error is considered a deal breaker and therefor the panic is warranted. 2012-03-08 11:47:57 +01:00
jim teeuwen fea0fad8ad Fix output for generated file. 2012-03-06 19:30:35 +01:00
jim teeuwen ccc86c4533 Fix for weekly.2012-02-14 2012-02-15 12:37:05 +01:00
jim teeuwen 02da4740e4 Fix generate doutput code. os.Error -> error. Remove calling of go fmt from code. This should really be done manually. 2012-02-11 16:49:43 +01:00
jim teeuwen 470290002e gofix go1rename 2011-11-09 14:46:27 +01:00
jim teeuwen efcb2b8d06 gofix error 2011-11-02 16:40:26 +01:00
jim teeuwen 55b35257df Added facilities to pipe file data into stdin. 2011-06-17 18:52:40 +02:00
jim teeuwen 2a84f0bab0 Changed from package to command. Removed bindata dependency from generated go files by embedding the unpacking code in the generated function. 2011-06-17 17:44:59 +02:00