29 Commits

Author SHA1 Message Date
mainnika 23029ae710 Prepare for v3 2023-06-10 00:44:20 +02:00
mainnika 7c3e50e783 Keep tests in separated _test package 2022-01-17 00:35:06 +01:00
mainnika 6b34ad5a09 Override default ephemeral database uri by using env variable 2022-01-16 23:28:48 +01:00
mainnika 0bc4e62d80 Track if the target was created as new during reset 2020-12-06 00:51:20 +01:00
mainnika 86397885e2 Function update one now considers the protection key using the update operator 2020-11-18 22:33:50 +01:00
mainnika c1ad7aea7d Let the protection key restate itself 2020-11-18 22:32:00 +01:00
Nikita Tokarchuk 9fb3094b87 Use reflect2 2020-07-23 00:00:53 +02:00
Nikita Tokarchuk 1d3e29fe10 Use err type for panics 2020-07-13 04:09:04 +02:00
Nikita Tokarchuk 72e74a65b6 Use named returns for the code style consistency 2020-07-13 04:09:04 +02:00
Nikita Tokarchuk 6111341a3c Check for nil interface correctly 2020-03-24 21:31:29 +01:00
Nikita Tokarchuk e0c26f770f Do not find through unexported values 2020-03-14 19:34:37 +01:00
Nikita Tokarchuk 8267abe5be Ephemeral database for testing in the testing package 2020-03-10 00:02:41 +01:00
Nikita Tokarchuk ab4227eaef Make package for protection struct 2020-03-09 23:48:47 +01:00
Nikita Tokarchuk f1fe41d336 Remove unused interfaces 2020-03-09 23:47:46 +01:00
Nikita Tokarchuk 06b1ef5d9a Redundant code 2020-03-09 23:47:46 +01:00
Nikita Tokarchuk 2c49854aee Implement ID bases in packages 2020-03-09 17:55:06 +01:00
Nikita Tokarchuk f3adfb039a Add custom interface base type 2020-03-06 00:22:10 +01:00
Nikita Tokarchuk 45a41c6c6c Improve base types 2020-03-06 00:22:10 +01:00
Nikita Tokarchuk db6c11f455 Remove custom err type
err
2020-03-06 00:22:10 +01:00
Nikita Tokarchuk deac951551 v2 2020-03-06 00:22:10 +01:00
Nikita Tokarchuk e681af6dea Go mod update 2020-02-26 23:04:38 +01:00
Nikita Tokarchuk dad0a0598b Add reflect based reset
fix
2019-05-24 14:50:30 +02:00
Nikita Tokarchuk b2cb450b24 Update mongo driver backend to v1.0.1 2019-05-15 14:42:17 +02:00
Nikita Tokarchuk db3aedd521 Protection structure 2019-02-07 23:35:36 +01:00
Nikita Tokarchuk 5a3ee358b5 Object base 2019-01-23 23:41:09 +01:00
Nikita Tokarchuk bc595dd024 Export getId into function 2018-12-26 23:14:48 +01:00
Nikita Tokarchuk 972516ff9b String base 2018-12-20 01:49:44 +01:00
Nikita Tokarchuk b4d4fc666e ObjectId base might be empty 2018-12-20 01:49:33 +01:00
Nikita Tokarchuk 913dcb2f1e Basic stuff, loadOne 2018-12-20 00:09:40 +01:00