Skip to content

Commit

Permalink
Code coverage report badge
Browse files Browse the repository at this point in the history
  • Loading branch information
spekary committed Mar 15, 2022
1 parent 465717a commit ea20531
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/goradd/html5tag.svg)](https://pkg.go.dev/github.com/goradd/html5tag)
[![Go Report Card](https://goreportcard.com/badge/github.com/goradd/html5tag)](https://goreportcard.com/report/github.com/goradd/html5tag)
![Build Status](https://img.shields.io/github/workflow/status/goradd/got/Go)
[![Go Report Card](https://goreportcard.com/badge/github.com/goradd/html5tag)](https://goreportcard.com/report/github.com/goradd/html5tag)
[![codecov](https://codecov.io/gh/goradd/html5tag/branch/main/graph/badge.svg?token=L8KC75KWWR)](https://codecov.io/gh/goradd/html5tag)

# html5tag

The html5tag package contains utilities to generate html 5 tags.
Choose between string versions of the
functions for easy tag creation, or io.Writer versions for speed. It
also has a tag builder for convenience and can perform math operations
functions for easy tag creation, or io.Writer versions for speed.

html5tag also has a tag builder for convenience and can perform math operations
on numeric style values.

html5tag does some checks to make sure tags are well-formed. For example,
Expand All @@ -22,7 +25,7 @@ import . "github.com/goradd/html5tag"

main() {

// Render an input tag, inside a div tag, inside a body tag
// Render an input tag, inside a div tag, inside a body tag using different tag building mechanisms

a := NewAttributes().
SetID("myText").
Expand All @@ -44,4 +47,4 @@ main() {
}
```

For complete documentation, start at the documentation for Tag and drill down from there.
For complete documentation, start at the documentation for `RenderTag()` and `WriteTag()` and drill down from there.

0 comments on commit ea20531

Please sign in to comment.