<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go-core, branch v0.4.0</title>
<subtitle>Low-dependency collection of things I find useful in Go.</subtitle>
<id>https://git.awhk.org/go-core/atom?h=v0.4.0</id>
<link rel='self' href='https://git.awhk.org/go-core/atom?h=v0.4.0'/>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/'/>
<updated>2022-12-03T21:40:19Z</updated>
<entry>
<title>Remove ‘value’ argument from Flag{,Slice}Var</title>
<updated>2022-12-03T21:40:19Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T21:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=16edafb4f96ec7accf2d797d10064364b5efdd5a'/>
<id>urn:sha1:16edafb4f96ec7accf2d797d10064364b5efdd5a</id>
<content type='text'>
It’s basically redundant since a pointer to the value is already
provided; callers can just set a default value there.
</content>
</entry>
<entry>
<title>Remove redundant type conversions</title>
<updated>2022-12-03T21:34:14Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T21:34:14Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=e9163a8c80b9d444d4eac37199991e3f6e70094f'/>
<id>urn:sha1:e9163a8c80b9d444d4eac37199991e3f6e70094f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant ParseString</title>
<updated>2022-12-03T21:31:28Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T21:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=aca3d73f8ce8cf46a80cb098589627a6b412aae1'/>
<id>urn:sha1:aca3d73f8ce8cf46a80cb098589627a6b412aae1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove MutableFlagValue</title>
<updated>2022-12-03T21:30:28Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T21:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=e2fb0e1ccaaedf5c4004db01593a0773cd626006'/>
<id>urn:sha1:e2fb0e1ccaaedf5c4004db01593a0773cd626006</id>
<content type='text'>
We can just have an ad hoc interface and not clutter the API.
</content>
</entry>
<entry>
<title>Prevent flags from being set again by default</title>
<updated>2022-12-03T12:19:17Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T12:19:17Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=6f81c7e746a3c7917f9d0efc1a6b34d905135866'/>
<id>urn:sha1:6f81c7e746a3c7917f9d0efc1a6b34d905135866</id>
<content type='text'>
Flag values that are safe to be set again should implement the new
MutableFlagValue interface.
</content>
</entry>
<entry>
<title>Drop T from the name of the Flag functions</title>
<updated>2022-12-03T12:01:45Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T12:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=a3ef784a3b5af5dd98ab8d9a44404f2ef240a626'/>
<id>urn:sha1:a3ef784a3b5af5dd98ab8d9a44404f2ef240a626</id>
<content type='text'>
Kind of redundant given that there’s a type parameter right after the
function name.
</content>
</entry>
<entry>
<title>Add InitFlagSet</title>
<updated>2022-12-03T11:58:01Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T11:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=552c8aaa156f39725329c6d00ea715e0312c6fb8'/>
<id>urn:sha1:552c8aaa156f39725329c6d00ea715e0312c6fb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add NoCopy to flag types as not to be copied</title>
<updated>2022-12-03T11:53:48Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T11:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=5b88af5109405a51b0c6f8237016707604109ca7'/>
<id>urn:sha1:5b88af5109405a51b0c6f8237016707604109ca7</id>
<content type='text'>
See https://github.com/golang/go/issues/8005#issuecomment-190753527 for
more details.
</content>
</entry>
<entry>
<title>Have FlagTSlice{,Var} take an optional separator</title>
<updated>2022-12-03T10:37:56Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-12-03T10:37:56Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=66757999fb5aa554d1277a21ba59a5f2e6ca0271'/>
<id>urn:sha1:66757999fb5aa554d1277a21ba59a5f2e6ca0271</id>
<content type='text'>
This separator, when passed, allows for multiple values to be passed at
a time.
</content>
</entry>
<entry>
<title>Revert "Close pipe if PipeListener.DialContext errors out"</title>
<updated>2022-11-27T16:18:08Z</updated>
<author>
<name>Grégoire Duchêne</name>
<email>gduchene@awhk.org</email>
</author>
<published>2022-11-27T16:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.awhk.org/go-core/commit/?id=2336eb2530e1f6df6817f309e0ea2a4102056967'/>
<id>urn:sha1:2336eb2530e1f6df6817f309e0ea2a4102056967</id>
<content type='text'>
This reverts commit 2bfa4630c7223ee11ec29b91107333758e7f2a8e.

It basically is not necessary to close the underlying channel.
</content>
</entry>
</feed>
