Commit Graph

10 Commits

Author SHA1 Message Date
Alex Sergeyev d353d0190a Added examples for Punycode lib. Makes godoc look pretty. 2014-09-18 10:03:14 -04:00
Miek Gieben a8b5ce58e5 Small cleanups 2014-09-18 09:11:16 +00:00
Alex Sergeyev c37add8d9e Prevented crash on empty string to our funcs +...
* changed encodeBytes to encode and decodeBytes to decode
* fixed few comments
2014-09-15 09:02:51 -04:00
Alex Sergeyev c38aeeb355 Declared variables prior to entering main conversion loops 2014-09-15 08:43:08 -04:00
Alex Sergeyev d42c1e2bbc Replaced rune(0) to new const 2014-09-15 08:38:01 -04:00
Alex Sergeyev 950dac05e5 Changed label splitting and fixed behavior for final period in names. 2014-09-15 08:23:08 -04:00
Alex Sergeyev c383d91f69 Added package header. 2014-09-15 07:52:58 -04:00
Alex Sergeyev 61db5487dd Updated Punycode funcs
* docstrings
* changes to handling invalid punycode names
* updated tests
2014-09-13 22:11:53 -04:00
Alex Sergeyev e59305ec87 Fixed panic calls to be similar to others in library 2014-09-12 07:52:33 -04:00
Alex Sergeyev a906600891 Moved things to subdir and adding functions to convert strings. 2014-09-12 07:52:33 -04:00