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

m-lab / go
82%
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.30
branch: v0.1.30
CHANGE BRANCH
x
Reset
  • v0.1.30
  • 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.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.58
  • 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

20 Mar 2020 08:35PM UTC coverage: 81.574%. First build
852

push

travis-ci

web-flow
Adds a new package for parsing v1 and v2 M-Lab hostnames (#107)

* Adds a new package hostname for parsing v1 and v2 platform hostnames.

* Fixes the v1 regex to not match invalid v2 names, and use continue instead of t.Skip().

* Adds a couple more test to get better test coverage.

* Updates main package comment with suggestions from PR.

* Renames package from hostname to host, and primary struct from Hostname to Name. Now, it can be called as host.Name instead of hostname.Hostname.

* Capitalizes all Name struct fields so that they are exportable.

* Removes Hostname field from Name struct, since it was identical to what was passed to Parse() anyway, and redundant.

* Sets all fields of Name to empty strings in want field in tests and removes the continue statment.

* Renames package dir from hostname to host, and uses zero value Name struct for testing instead of setting every field to the empty string.

1368 of 1677 relevant lines covered (81.57%)

217.9 hits per line

Relevant lines Covered
Build:
Build:
1677 RELEVANT LINES 1368 COVERED LINES
217.9 HITS PER LINE
Source Files on v0.1.30
  • Tree
  • List 35
  • 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
852 v0.1.30 Adds a new package for parsing v1 and v2 M-Lab hostnames (#107) * Adds a new package hostname for parsing v1 and v2 platform hostnames. * Fixes the v1 regex to not match invalid v2 names, and use continue instead of t.Skip(). * Adds a couple mo... push 24 Apr 2020 03:43PM UTC web-flow travis-ci
81.57
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