Commit Graph

89 Commits

Author SHA1 Message Date
Artem Nezvigin 1384c63220 Add FromStringOrNil 2015-07-20 23:29:55 -07:00
Maxim Bublis afe1e2ddf0 Omit epochFunc variable type as it will be inferred from the value. 2015-06-15 05:45:37 +03:00
Maxim Bublis 79765f767f Merge pull request #13 from cbandy/optional-random
Initialize v1 and v2 storage only when it is used
2015-06-08 16:37:37 +03:00
Chris Bandy fe802816cf Initialize storage only when it is used 2015-06-06 16:27:38 +00:00
Maxim Bublis 8fe043674f Merge pull request #12 from cbandy/safe-random
Panic when getting entropy
2015-06-06 18:39:33 +03:00
Chris Bandy 2fb2740a40 Panic when there is an error getting entropy 2015-06-06 14:03:51 +00:00
Chris Bandy b688244ed5 Move epoch initialization out of init 2015-06-06 12:46:50 +00:00
Maxim Bublis 7c7f2020c4 Merge pull request #11 from dlsniper/tostring-speedbump
Speed-up for string conversion function
2015-05-01 22:56:59 +03:00
Florin Patan 6fa6b8092e Use docker Travis to speed-up tests 2015-05-01 17:07:22 +02:00
Florin Patan 946784907a Speed-up for string conversion function 2015-05-01 17:00:27 +02:00
Maxim Bublis dea5d44ec0 Add Nil UUID variable.
Thanks deoxxa (Conrad Pankoff) for report.
Closes #6.
2015-04-24 23:18:43 +03:00
Maxim Bublis 242673bbc8 Update copyright year 2015-02-15 00:26:48 +07:00
Maxim Bublis db382514f4 Merge pull request #10 from cbandy/sql-scanner
Implement sql.Scanner interface
2015-02-05 12:27:52 +07:00
Chris Bandy 28f0f6f81a Implement sql.Scanner interface 2015-02-05 04:20:22 +00:00
Maxim Bublis 3beb4ac903 Update tested Go versions. 2014-12-28 16:09:46 +07:00
Maxim Bublis c7ad8b21f5 Build against Go 1.4. 2014-12-28 16:01:47 +07:00
Maxim Bublis a07c134f82 Refactor UUID string parsing.
Use less memory allocations, 2x speed up.
2014-08-19 18:31:44 +04:00
Maxim Bublis 5c6f91b6c0 Implement FromBytes in term of UnmarshalBinary, not vice versa 2014-08-19 18:28:30 +04:00
Maxim Bublis 723b3d60ff Encoding interface benchmarks 2014-08-19 18:23:26 +04:00
Maxim Bublis 053e37d1e8 Build against Go 1.3. 2014-08-19 01:17:43 +04:00
Maxim Bublis 46e1db2797 Fixes #4. Fixed data races with UUID v1/v2 storage access 2013-12-09 03:46:21 +04:00
Maxim Bublis 2ffad3eff9 Closes #3. Adds encoding interface support for Go 1.2 2013-12-09 02:43:16 +04:00
Maxim Bublis f1c985a73e go fmt 2013-12-05 18:55:21 +04:00
Maxim Bublis 74f1c8fb37 Set multicast bit for random generated MAC 2013-12-05 18:42:37 +04:00
Maxim Bublis 5ce331fec4 Added bytes representation for UUID 2013-12-05 13:51:57 +04:00
Maxim Bublis 7c3a90dd52 Use tabs instead of spaces in example 2013-12-05 00:21:44 +04:00
Maxim Bublis e7cf45c6fe Using FromString for predefined namespaces 2013-12-04 23:12:06 +04:00
Maxim Bublis 8964e6f1b9 Added example of parsing UUID from string 2013-12-04 23:06:18 +04:00
Maxim Bublis 10f354ca4b Added error messages prefix 2013-12-04 19:11:37 +04:00
Maxim Bublis 3d29736e97 Updated README 2013-12-04 19:03:41 +04:00
Maxim Bublis 3f8b0b0fa2 Added FromString parser 2013-12-04 19:01:44 +04:00
Maxim Bublis 349e66f415 Added FromBytes converter 2013-12-04 15:49:52 +04:00
Maxim Bublis e1d4317e3c Now with 100% test coverage 2013-12-03 20:03:45 +04:00
Maxim Bublis a7058a90b0 Added tests for bitwise operations 2013-12-03 20:01:39 +04:00
Maxim Bublis 154a70b629 Using value instead of pointer in test 2013-12-03 20:01:22 +04:00
Maxim Bublis a3b73a811d Updated links 2013-12-03 18:49:33 +04:00
Maxim Bublis b82a796ef0 Updated links 2013-12-03 18:48:45 +04:00
Maxim Bublis 043d3695ae Added GoDoc status icon 2013-12-03 14:18:18 +04:00
Maxim Bublis 872f316627 go lint 2013-12-03 14:17:47 +04:00
Maxim Bublis b0e46e6681 Cosmetic 2013-12-03 14:02:22 +04:00
Maxim Bublis 7806bcd471 Added example and notice of tested Go versions 2013-12-03 13:59:31 +04:00
Maxim Bublis 92afb8d8fe Build against released versions of Go 2013-12-03 13:41:36 +04:00
Maxim Bublis 3a4c80cb57 Merge pull request #2 from alindeman/epoch_bug
Fixes bug: epochStart is being added twice
2013-12-02 08:03:14 -08:00
Maxim Bublis 93078ed034 Updated links 2013-12-02 19:33:31 +04:00
Andy Lindeman bfd6674638 Fixes bug: epochStart is being added twice 2013-09-25 18:12:20 -04:00
Maxim Bublis c78c1486a4 Merge pull request #1 from satori/master
fixed links
2013-08-05 03:21:08 -07:00
Maxim Bublis 28b33ebe8c fixed links 2013-08-05 14:17:33 +04:00
Maxim Bublis 68d5abec68 Dropped epoch func setter/getter 2013-07-29 17:07:35 +04:00
Maxim Bublis bdf6752f55 Added bitwise AND and OR operations for UUID 2013-07-27 12:09:46 +04:00
Maxim Bublis 0971b1350e return uuid instead of pointer 2013-07-25 14:30:11 +04:00