Commit Graph

32 Commits (f34a58dd5853a61028bc8f4837dd30b91a312bc6)

Author SHA1 Message Date
Charles Iliya Krempeaux f34a58dd58 opt.Optional[T].IsNothing() opt.Optional[T].IsSomething() 2024-06-16 06:42:51 -07:00
Charles Iliya Krempeaux afc1a40c4b made it so UnmarhsalJSON works with *int64 *uint64 *json.Number 2024-02-24 09:50:00 -08:00
Charles Iliya Krempeaux 6b4ca5231f nil receiver 2023-11-06 09:22:54 -08:00
Charles Iliya Krempeaux ac10a7a79c .GetElse() 2023-11-05 01:20:57 -07:00
Charles Iliya Krempeaux a4952668c3 correction 2023-10-27 11:33:08 -07:00
Charles Iliya Krempeaux 1f1dfca71d improved README.md 2023-09-28 19:21:19 +09:00
Charles Iliya Krempeaux 272fd84518 improvements 2023-09-27 09:43:16 +09:00
Charles Iliya Krempeaux 3e7cdb405e .MarshalJSON() 2023-09-25 11:35:13 +09:00
Charles Iliya Krempeaux d6b2890eaa .UnmarshalJSON() 2023-09-25 07:04:29 +09:00
Charles Iliya Krempeaux cb749d3510 .UnmarshalJSON() 2023-09-25 06:59:54 +09:00
Charles Iliya Krempeaux e38043bd89 .UnmarshalJSON() 2023-09-24 06:27:34 +09:00
Charles Iliya Krempeaux a8488bd6fb more tests 2023-09-24 05:44:49 +09:00
Charles Iliya Krempeaux 3cb587c984 tried to make type restriction a compile time constraint. that did not seem to work. so made it a run-time constraint. 2023-09-24 05:44:37 +09:00
Charles Iliya Krempeaux 3f808e9749 more tests 2023-09-24 05:30:44 +09:00
Charles Iliya Krempeaux b434dd95d3 .isnothing() 2023-09-24 05:24:56 +09:00
Charles Iliya Krempeaux 58bf264aa9 opt.Optional[bool|string].MarshalJSON() 2023-09-23 09:29:41 +09:00
Charles Iliya Krempeaux a33304548a opt.Optional[string].MarshalJSON() 2023-09-23 07:36:42 +09:00
Charles Iliya Krempeaux df716e8fe0 github.com/reiver/go-opt -> sourcecode.social/reiver/go-opt 2023-09-23 05:40:21 +09:00
Charles Iliya Krempeaux 89498dfdf6
correction to example in README.md 2022-08-20 08:11:47 -07:00
Charles Iliya Krempeaux bb61bb0854 opt.Optional[T].Filter() 2022-08-14 00:58:41 -07:00
Charles Iliya Krempeaux 4cd974c11f opt.Then() — I would prefer that map be a method, but the current implementation of Go generatics does not seem to support that 2022-08-14 00:03:55 -07:00
Charles Iliya Krempeaux bfb598fbd1 opt.Map() — I would prefer that map be a method, but the current implementation of Go generatics does not seem to support that 2022-08-10 09:18:03 -07:00
Charles Iliya Krempeaux d7e8552eea opt.Optional[T] 2022-08-08 10:21:23 -07:00
Charles Iliya Krempeaux 9cbd049b34 opt.Optional[T] 2022-08-08 10:14:51 -07:00
Charles Iliya Krempeaux e86446ff5b removed the pre-generics implementation of an optional-type / option-type / maybe-type for the Go programming language 2022-08-08 10:05:56 -07:00
Charles Iliya Krempeaux 96351d3ad7 opt.Optional[T] 2022-08-08 10:01:41 -07:00
Charles Iliya Krempeaux 258a41bedc change contact info in LICENSE 2022-08-08 08:57:37 -07:00
Charles Iliya Krempeaux 4f5871af53 re-generated 2017-05-19 15:30:14 -07:00
Charles Iliya Krempeaux 40c8fd548d added docs 2017-05-18 11:56:21 -07:00
Charles Iliya Krempeaux 266d3f6da4 added docs 2017-05-18 11:24:46 -07:00
Charles Iliya Krempeaux 76f546217d optstring.Type and optstring.NullableType 2017-05-18 11:21:27 -07:00
Charles Iliya Krempeaux d2aba9b53d initial commit 2017-05-18 11:20:02 -07:00