Skip to content

Commit ebf56fc

Browse files
authored
Merge pull request #31 from lvan100/main
add log module - 2
2 parents 60ec5ee + 7c74c63 commit ebf56fc

File tree

118 files changed

+971
-4077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+971
-4077
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ jobs:
2424
run: go mod download
2525

2626
- name: Run tests
27-
run: go test -count=1 -coverprofile=coverage.txt ./... &&
28-
grep -v "^github.com/go-spring/spring-core/log" coverage.txt > coverage.txt.tmp && mv coverage.txt.tmp coverage.txt
27+
run: go test -count=1 -coverprofile=coverage.txt ./...
2928

3029
- name: Upload results to Codecov
3130
uses: codecov/codecov-action@v5

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ go.work.sum
3232

3333
/conf/remote/
3434

35-
doc/examples/bookman/conf/
36-
doc/examples/bookman/log/*.log
35+
docs/**/bookman/conf/
36+
docs/**/bookman/log/*.log
3737

38-
coverage.txt
38+
coverage.txt
39+
40+
log/access.log

README.md

Lines changed: 5 additions & 2 deletions

README_CN.md

Lines changed: 5 additions & 2 deletions

conf/expr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestExpr(t *testing.T) {
5555
var v struct {
5656
A int `value:"${a}" expr:"checkInt(2$)"`
5757
}
58-
p := conf.Map(map[string]interface{}{
58+
p := conf.Map(map[string]any{
5959
"a": 4,
6060
})
6161
err := p.Bind(&v)

doc/examples/servers/gin/.keep

Whitespace-only changes.

docs/0. overview/overview.md

Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions

docs/2. concepts/concepts.md

Lines changed: 1 addition & 0 deletions

docs/3. guides/guides.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)