Skip to content

Commit

Permalink
refactor to optimize dnsmessage function (#632)
Browse files Browse the repository at this point in the history
* refactor flatten function
* Update README.md
* reduce op/s for ToTextLine
* clean code
  • Loading branch information
dmachard authored Mar 3, 2024
1 parent e475120 commit 30790c2
Show file tree
Hide file tree
Showing 6 changed files with 770 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ linters:
- gocritic

# list of linters to use in the future:
#- gosec
#- gosec
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<p align="center">
<img src="https://goreportcard.com/badge/github.com/dmachard/go-dns-collector" alt="Go Report"/>
<img src="https://img.shields.io/badge/go%20version-min%201.20-green" alt="Go version"/>
<img src="https://img.shields.io/badge/go%20tests-417-green" alt="Go tests"/>
<img src="https://img.shields.io/badge/go%20lines-38329-green" alt="Go lines"/>
<img src="https://img.shields.io/badge/go%20tests-429-green" alt="Go tests"/>
<img src="https://img.shields.io/badge/go%20lines-38661-green" alt="Go lines"/>
</p>

<p align="center">
Expand Down
Loading

0 comments on commit 30790c2

Please sign in to comment.