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

m-lab / go
94%
main: 96%

Build:
Build:
LAST BUILD BRANCH: v0.1.76
DEFAULT BRANCH: main
Repo Added 05 Dec 2017 08:50PM UTC
Files 50
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 v0.1.58
branch: v0.1.58
CHANGE BRANCH
x
Reset
  • v0.1.58
  • add-fromfile
  • add-value-or-die
  • anon-usability
  • anonymize
  • assignedflags
  • bq-fake
  • bq-fake-uploader
  • bq-postproc
  • bqiface
  • cloudtest-use-context
  • code_from_pusher
  • create-update
  • cron
  • dataset
  • dataset-cleanup
  • dedup
  • dependabot/go_modules/github.com/prometheus/client_golang-1.11.1
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/sys-0.1.0
  • dependabot/go_modules/golang.org/x/text-0.3.8
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • doc/flagx
  • dont-anonymize-yourself
  • dsfake
  • errorx
  • faster-logEvery
  • filebytes-string
  • filenames
  • fix-bqfake
  • fix-bqx-tests
  • fix-file-url-handling
  • fix-logx
  • fix-numlongtermbytes
  • fix-retract
  • fix-typo
  • fix_cloudtest
  • flagx_mustsetenv
  • gcs-stuff
  • gcsFake
  • go-module
  • gz-filter
  • hacking
  • httpx
  • httpx-fill-in-port
  • improve_coverage
  • keyvalue
  • log-timer
  • main
  • maketicker
  • master
  • memoryless
  • memoryless-timer
  • move-bqx
  • no-illegal-chars
  • osx
  • prefix-update-time
  • promdoc
  • prometheus
  • provider
  • rebuild
  • remove-MakeTicker
  • remove-deprecated-bqx
  • remove-go.mod
  • remove-uuid
  • remove-waffle
  • restore-project-vetting
  • sandbox-cristinaleon-1.20
  • sandbox-cristinaleon-bqfake
  • sandbox-cristinaleon-enforce-partition
  • sandbox-cristinaleon-key-array-value
  • sandbox-cristinaleon-kvescaped
  • sandbox-cristinaleon-loader
  • sandbox-cristinaleon-mathx
  • sandbox-cristinaleon-mathx-source
  • sandbox-cristinaleon-mode
  • sandbox-cristinaleon-mustread
  • sandbox-cristinaleon-newloader-pointer
  • sandbox-cristinaleon-rand-src
  • sandbox-cristinaleon-remove-weird
  • sandbox-cristinaleon-setconfig
  • sandbox-cristinaleon-update-err
  • sandbox-kinkade
  • sandbox-roberto
  • sandbox-roberto-fix-upload-close
  • sandbox-roberto-retract-v1
  • sandbox-roberto-siteinfo
  • sandbox-roberto-siteinfo-version
  • sandbox-roberto-support-bmc-hostnames
  • sandbox-roberto-uploader
  • sandbox-saied-go118
  • sandbox-soltesz
  • sandbox-soltesz-anon-contains
  • sandbox-soltesz-append
  • sandbox-soltesz-bqfake
  • sandbox-soltesz-durarray
  • sandbox-soltesz-fba
  • sandbox-soltesz-filestring
  • sandbox-soltesz-fix
  • sandbox-soltesz-flagsfromfiles
  • sandbox-soltesz-flagx-filebytes
  • sandbox-soltesz-flagx-missingfile
  • sandbox-soltesz-flagx-time
  • sandbox-soltesz-flagxurl
  • sandbox-soltesz-host-no-regex
  • sandbox-soltesz-host-string
  • sandbox-soltesz-host-v3
  • sandbox-soltesz-host-v3-fix
  • sandbox-soltesz-host-v3-fix2
  • sandbox-soltesz-iter
  • sandbox-soltesz-logx
  • sandbox-soltesz-no-prints
  • sandbox-soltesz-nullable
  • sandbox-soltesz-p2
  • sandbox-soltesz-promlint
  • sandbox-soltesz-rm-dataset
  • sandbox-soltesz-sa
  • sandbox-soltesz-schema
  • sandbox-soltesz-schemadoc
  • sandbox-soltesz-schemadoc2
  • sandbox-soltesz-shx1
  • sandbox-soltesz-shx2
  • sandbox-soltesz-shx3
  • sandbox-soltesz-shx4
  • sandbox-soltesz-stripkeyvalue
  • sandbox-soltesz-testingx
  • sandbox-soltesz-timex
  • sandbox-soltesz-update-env
  • sandbox-soltesz-urlfix
  • sandbox-soltesz-v6-48
  • sandbox-soltesz-walkif
  • sandbox-soltesz2
  • should
  • simplify
  • soltesz-add-httpx-tcpnetwork
  • table-util
  • testutil
  • unbreak-build
  • uniformnames
  • untested-dataset
  • update-readme-and-docs
  • use-output
  • use_just_x
  • uuid
  • v0.0.1
  • v0.0.2
  • v0.0.3
  • v0.0.4
  • v0.1.0
  • v0.1.1
  • v0.1.10
  • v0.1.2
  • v0.1.20
  • v0.1.21
  • v0.1.22
  • v0.1.3
  • v0.1.30
  • v0.1.4
  • v0.1.40
  • v0.1.41
  • v0.1.42
  • v0.1.43
  • v0.1.44
  • v0.1.45
  • v0.1.46
  • v0.1.47
  • v0.1.48
  • v0.1.49
  • v0.1.50
  • v0.1.51
  • v0.1.52
  • v0.1.53
  • v0.1.54
  • v0.1.55
  • v0.1.56
  • v0.1.57
  • v0.1.59
  • v0.1.60
  • v0.1.61
  • v0.1.62
  • v0.1.63
  • v0.1.64
  • v0.1.65
  • v0.1.69
  • v0.1.70
  • v0.1.71
  • v0.1.72
  • v0.1.73
  • v0.1.74
  • v0.1.75
  • v0.1.76
  • v1.0.0
  • v1.0.1
  • v1.0.2
  • v1.0.3
  • v1.0.4
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • verify-dirty-is-zero
  • version-metrics
  • vet-dependencies
  • warp-speed

15 Feb 2023 11:41PM UTC coverage: 94.469%. First build
1227

push

travis-ci-com

web-flow
Adds funcs to return strings w/ prefixes and suffixes (#158)

* Adds funcs to return strings w/ prefixes and suffixes

Previously, the only string function returned a typical mlab hostname.
This commit adds additional string functions to return various
combinations of the hostname with or without prefixes and suffixes.

Additionally, this commit modifies the v2 regexp to capture and return
an prefix. Previously the prefix match was a non-capturing group.

* Renames Prefix to Service + PR feedback changes

* Fixes String functions + adds more unit tests

I realized that some of the String* functions would return bad hostnames
in the event that certain fields were not present in the input hostname.
This commit should fix that.

Also, this commit adds unit tests for the new String* functions to be
sure they are doing what we expect.

* Simplifies the String function, reusing existing functionality

2169 of 2296 relevant lines covered (94.47%)

164.84 hits per line

Relevant lines Covered
Build:
Build:
2296 RELEVANT LINES 2169 COVERED LINES
164.84 HITS PER LINE
Source Files on v0.1.58
  • Tree
  • List 48
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1227 v0.1.58 Adds funcs to return strings w/ prefixes and suffixes (#158) * Adds funcs to return strings w/ prefixes and suffixes Previously, the only string function returned a typical mlab hostname. This commit adds additional string functions to return... push 16 Feb 2023 06:31PM UTC web-flow travis-ci-com
94.47
See All Builds (1407)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc