• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gookit / goutil
88%

Build:
DEFAULT BRANCH: master
Repo Added 03 Aug 2019 02:29PM UTC
Files 236
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • alert-autofix-31
  • codex/substr-count-rune-ranges
  • copilot/fix-228
  • copilot/fix-230
  • dependabot/add-v2-config-file
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/github/codeql-action-4.37.4
  • dependabot/go_modules/github.com/gookit/color-1.2.7
  • dependabot/go_modules/github.com/gookit/color-1.2.8
  • dependabot/go_modules/github.com/gookit/color-1.2.9
  • dependabot/go_modules/github.com/gookit/color-1.3.0
  • dependabot/go_modules/github.com/gookit/color-1.3.1
  • dependabot/go_modules/github.com/gookit/color-1.3.2
  • dependabot/go_modules/github.com/gookit/color-1.3.3
  • dependabot/go_modules/github.com/gookit/color-1.3.5
  • dependabot/go_modules/github.com/gookit/color-1.3.6
  • dependabot/go_modules/github.com/gookit/color-1.3.7
  • dependabot/go_modules/github.com/gookit/color-1.3.8
  • dependabot/go_modules/github.com/gookit/color-1.4.1
  • dependabot/go_modules/github.com/gookit/color-1.5.0
  • dependabot/go_modules/github.com/gookit/color-1.5.1
  • dependabot/go_modules/github.com/json-iterator/go-1.1.11
  • dependabot/go_modules/github.com/json-iterator/go-1.1.12
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.13
  • dependabot/go_modules/github.com/mattn/go-isatty-0.0.14
  • dependabot/go_modules/github.com/stretchr/testify-1.6.1
  • dependabot/go_modules/github.com/stretchr/testify-1.7.1
  • dependabot/go_modules/github.com/stretchr/testify-1.7.2
  • dependabot/go_modules/golang.org/x/sync-0.11.0
  • dependabot/go_modules/golang.org/x/sync-0.9.0
  • dependabot/go_modules/golang.org/x/sys-0.23.0
  • dependabot/go_modules/golang.org/x/sys-0.24.0
  • dependabot/go_modules/golang.org/x/sys-0.27.0
  • dependabot/go_modules/golang.org/x/sys-0.29.0
  • dependabot/go_modules/golang.org/x/sys-0.30.0
  • dependabot/go_modules/golang.org/x/term-0.23.0
  • dependabot/go_modules/golang.org/x/term-0.24.0
  • dependabot/go_modules/golang.org/x/term-0.25.0
  • dependabot/go_modules/golang.org/x/term-0.28.0
  • dependabot/go_modules/golang.org/x/term-0.29.0
  • dependabot/go_modules/golang.org/x/text-0.18.0
  • dependabot/go_modules/golang.org/x/text-0.19.0
  • dependabot/go_modules/golang.org/x/text-0.20.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/honnef.co/go/tools-0.0.1-2020.1.5
  • feat-gcm
  • fix-data-size-unit-boundary
  • fix-dotenv-load-first-exist
  • fix-dotenv-upper-key
  • fix-env-quoted-inline-comment
  • fix-httpreq-redirect-308
  • fix-set-by-path-slice-elem
  • fix-toint64-uint-overflow
  • fix-touint-negative
  • fix-unzip-parent-dirs
  • fix/append-query-before-url-fragments-20261030
  • fix/centered-alignment-width
  • fix/configure-default-idle-transport-20261101
  • fix/isolate-copied-request-options-20261101
  • fix/keep-cached-body-after-json-binding-20261030
  • fix/lowercase-empty-merge-destination-20261030
  • fix/maputil-contract-20261029
  • fix/negative-path-index
  • fix/prefer-request-body-content-type-20261101
  • fix/preserve-cached-response-read-errors-20261031
  • fix/preserve-client-on-request-timeout-20261101
  • fix/reject-copying-a-file-onto-itself-20261031
  • fix/replace-existing-symlink-paths-20261031
  • fix/snakecase-acronyms
  • fix/split-zero-width-runes
  • fix/strip-comments-quoted-block-markers-20261027
  • fix/typos-in-comments
  • fix/update-contents-preserve-input
  • fix/word-wrap-separators-20261028
  • master
  • nrg-migration
  • refs/tags/v0.3.10
  • refs/tags/v0.3.11
  • refs/tags/v0.3.13
  • refs/tags/v0.3.14
  • refs/tags/v0.3.15
  • refs/tags/v0.3.8
  • refs/tags/v0.3.9
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.4.2
  • refs/tags/v0.4.4
  • refs/tags/v0.4.5
  • refs/tags/v0.4.6
  • refs/tags/v0.5.0
  • refs/tags/v0.5.1
  • refs/tags/v0.5.10
  • refs/tags/v0.5.11
  • refs/tags/v0.5.12
  • refs/tags/v0.5.13
  • refs/tags/v0.5.14
  • refs/tags/v0.5.15
  • refs/tags/v0.5.2
  • refs/tags/v0.5.3
  • refs/tags/v0.5.4
  • refs/tags/v0.5.5
  • refs/tags/v0.5.7
  • refs/tags/v0.5.8
  • refs/tags/v0.5.9
  • refs/tags/v0.6.0
  • refs/tags/v0.6.1
  • refs/tags/v0.6.10
  • refs/tags/v0.6.11
  • refs/tags/v0.6.12
  • refs/tags/v0.6.13
  • refs/tags/v0.6.14
  • refs/tags/v0.6.15
  • refs/tags/v0.6.16
  • refs/tags/v0.6.17
  • refs/tags/v0.6.18
  • refs/tags/v0.6.2
  • refs/tags/v0.6.3
  • refs/tags/v0.6.4
  • refs/tags/v0.6.5
  • refs/tags/v0.6.6
  • refs/tags/v0.6.7
  • refs/tags/v0.6.8
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.7.4
  • refs/tags/v0.7.5
  • v0.1.7
  • v0.1.9
  • v0.2.0
  • v0.2.1
  • v0.2.10
  • v0.2.11
  • v0.2.12
  • v0.2.13
  • v0.2.14
  • v0.2.16
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.6
  • v0.2.7
  • v0.2.8
  • v0.2.9
  • v0.3.1
  • v0.3.2
  • v0.3.3
  • v0.3.4
  • v0.3.5
  • v0.3.6
  • v0.3.7

18 Nov 2026 12:06PM UTC coverage: 87.912% (+0.007%) from 87.905%
44300763059

push

github

inhere
feat(maputil): add DeleteByPath, document the nil value rules

SetByPath keeps the key for a nil value now (#297), so deleting a value needs an explicit call. DeleteByPath/DeleteByKeys/Data.DeleteByPath take the dot syntax and the slice index syntax of SetByPath, deleting a missing path is not an error, and deleting a slice element shrinks the slice.

69 of 77 new or added lines in 2 files covered. (89.61%)

16814 of 19126 relevant lines covered (87.91%)

5.61 hits per line

Relevant lines Covered
Build:
Build:
19126 RELEVANT LINES 16814 COVERED LINES
5.61 HITS PER LINE
Source Files on master
  • Tree
  • List 236
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44300763059 master feat(maputil): add DeleteByPath, document the nil value rules SetByPath keeps the key for a nil value now (#297), so deleting a value needs an explicit call. DeleteByPath/DeleteByKeys/Data.DeleteByPath take the dot syntax and the slice index synt... push 18 Nov 2026 12:06PM UTC inhere github
87.91
44300070657 master Preserve explicit nil values in map path setters (#297) push 18 Nov 2026 12:02PM UTC web-flow github
87.9
44298744632 master fix(envutil): LoadFirstExist ignores files from earlier loads (#325) Dotenv.doLoadFiles stopped at the first file only by checking len(c.loadFiles) > 0, but loadFiles keeps files from earlier LoadAndInit/LoadFiles calls. So on a second call with ... push 18 Nov 2026 11:53AM UTC web-flow github
87.89
44267455512 fix-dotenv-load-first-exist fix(envutil): LoadFirstExist ignores files from earlier loads Dotenv.doLoadFiles stopped at the first file only by checking len(c.loadFiles) > 0, but loadFiles keeps files from earlier LoadAndInit/LoadFiles calls. So on a second call with LoadFir... Pull #325 18 Nov 2026 08:30AM UTC bardrop github
87.9
44246687734 master fix(envutil): keep ' #' inside quoted values and stop panic on lone quote (#324) ParseEnvLines (used by envutil.SplitText2map, Dotenv.LoadText/LoadFiles and textutil) cut inline comments at the first ' #', even inside quotes: KEY="pass #1" # comm... push 18 Nov 2026 05:48AM UTC web-flow github
87.9
44246678861 master fix(cmdline): stop ParseLine panic on a lone quote and keep spaces in quotes (#323) ParseLine split the line on single spaces, so a node that was only a quote char (`-m " msg"`) hit node[1:0] and panicked, and the empty nodes made by repeated spa... push 18 Nov 2026 05:47AM UTC web-flow github
87.76
44223941606 fix-env-quoted-inline-comment fix(envutil): keep ' #' inside quoted values and stop panic on lone quote ParseEnvLines (used by envutil.SplitText2map, Dotenv.LoadText/LoadFiles and textutil) cut inline comments at the first ' #', even inside quotes: KEY="pass #1" # comment gav... Pull #324 18 Nov 2026 05:44AM UTC bardrop github
87.89
43999369412 master fix(strutil): read a 20-char timestamp ending in Z as UTC The 20-char layout was '2006-01-02 15:04:05Z', where the Z is a literal character, so the zone was dropped and the value was read in time.Local. A timestamp with fractional seconds took an... push 17 Nov 2026 01:57AM UTC inhere github
87.75
43997044611 master feat(arrutil,maputil): add more slice and map helpers, fix SnakeCase acronyms arrutil: BinarySearch/BinarySearchFunc (slices on go1.21+), DeleteRange, Replace, Repeat. maputil: Filter, MapValues, Invert, and TypedKeys/TypedValues use slices.Colle... push 17 Nov 2026 01:38AM UTC inhere github
87.68
43869980913 master test(timex): use x/assert instead of the deprecated testutil/assert staticcheck reports the deprecated testutil/assert calls in json_decode_test.go. push 16 Nov 2026 12:49PM UTC inhere github
87.6
See All Builds (665)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc