Skip to content

Commit

Permalink
tags: move tags logic to internal pkg and add ParseTags() and Seriali…
Browse files Browse the repository at this point in the history
…zeTags() helpers (#103)

Move all tags logic to the internal/tags package and add the SerializeTags() and 
ParseTags() helper functions to the mock package. Moving the tags logic was
required to make it accessible by the mock package. 

This commit also increases a bit and adds some examples to the mock package.
  • Loading branch information
charlievieth authored Aug 19, 2020
1 parent 00f2fa1 commit ba314c9
Show file tree
Hide file tree
Showing 9 changed files with 1,236 additions and 833 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ quick: # runs all tests without coverage or the race detector

.PHONY: cover
cover: # runs all tests against the package, generating a coverage report and opening it in the default browser
go test -race -covermode=atomic -coverprofile=cover.out ./...
go test -covermode=atomic -coverprofile=cover.out -coverpkg github.com/lyft/gostats/... ./...
go tool cover -html cover.out -o cover.html
which open && open cover.html
Loading

0 comments on commit ba314c9

Please sign in to comment.