Commit Graph

20 Commits (3cb587c98420965c31eb4f1ef4cadf6482681c18)

Author SHA1 Message Date
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