+
Skip to content

Tags: mitranim/gt

Tags

v0.1.26

Toggle v0.1.26's commit message
add `HexUint`

See the `HexUint` doc comments.

Additional changes:

`NullTime.MarshalJSON` once again marshals nanoseconds.
This fixes a small bug introduced in the previous commit.

Avoid spurious heap escapes in `ReadUuid` and `ReadNullUuid`.

v0.1.25

Toggle v0.1.25's commit message
avoid overheads in JSON encoding

This commit fixes some easily avoidable overheads in `.MarshalJSON`
for the types listed below, resulting in faster encoding due to less
copying and lower allocator usage.

* `Interval`
* `NullFloat`
* `NullInt`
* `NullInterval`
* `NullString`
* `NullTime`
* `NullUint`
* `NullUrl` (also improves `.AppendTo`)

v0.1.24

Toggle v0.1.24's commit message
fix `Url.AddPath`; other minor changes; split tests

* `Url.AddPath` now ensures structural consistency between URLs
  generated by calling this method and equivalent URLs decoded
  from text.

* Breaking change in `Join`. Previously, as a special case, it
  accepted a single empty argument. Now, any empty argument is
  rejected with a panic, regardless of argument count.

* `Ter.BoolPtr` now always allocates a new boolean pointer to
  ensure no accidental shared mutations.

v0.1.23

Toggle v0.1.23's commit message
add `NullTime.SubInterval`, `NullTime.SubNullInterval`

v0.1.22

Toggle v0.1.22's commit message
add `NullUrl.UrlPtr`; safer `NullUrl.Url`

v0.1.21

Toggle v0.1.21's commit message
rename `.Append` to `.AppendTo`

v0.1.20

Toggle v0.1.20's commit message
add `NullUrl.AddPath`

v0.1.19

Toggle v0.1.19's commit message
simpler behavior of `NullTime` less/more functions

v0.1.18

Toggle v0.1.18's commit message
`NullTime` also supports parsing Unix millisecond timestamps

Tentative. Allows easy compatibility with JS timestamps.

v0.1.17

Toggle v0.1.17's commit message
various minor tweaks and fixes

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载