Skip to content

Commit

Permalink
Merge branch 'master' of github.com:snakeice/gogress
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeice committed Mar 14, 2023
2 parents 55df2ca + cbbe4a1 commit 2ab7396
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
args:
- "--go=1.19"
- id: go-critic
# - id: go-unit-tests
- id: go-unit-tests
- id: go-build
- id: go-mod-tidy
8 changes: 4 additions & 4 deletions template.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
const DefaultTemplate = `{{prefix . 2}} {{bar . 5}} {{percent . 1}} {{counter . 1}} {{speed . 1}} {{timeSpent . 1}} {{timeLeft . 1}}`

/*
+-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----+
| C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 |
+-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----+
+-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----+
| C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | C10 | C11 | C12 |
+-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----|-----+
Like bootstrap grid system
Like bootstrap grid system
*/
type TemplateParser struct {
template *template.Template
Expand Down

0 comments on commit 2ab7396

Please sign in to comment.