Skip to content

Commit

Permalink
feat(fxhttpserver): Provided module (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox authored Jan 12, 2024
1 parent 328e53d commit eb89939
Show file tree
Hide file tree
Showing 35 changed files with 4,630 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- "fxgenerate"
- "fxhealthcheck"
- "fxhttpclient"
- "fxhttpserver"
- "fxlog"
- "fxmetrics"
- "fxorm"
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/fxhttpserver-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "fxhttpserver-ci"

on:
push:
branches:
- "feat**"
- "fix**"
- "hotfix**"
- "chore**"
paths:
- "fxhttpserver/**.go"
- "fxhttpserver/go.mod"
- "fxhttpserver/go.sum"
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- main
paths:
- "fxhttpserver/**.go"
- "fxhttpserver/go.mod"
- "fxhttpserver/go.sum"

jobs:
ci:
uses: ./.github/workflows/common-ci.yml
secrets: inherit
with:
module: "fxhttpserver"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Yokai's `Fx modules` are the plugins for your Yokai application.
| [fxgenerate](fxgenerate) | Fx module for [generate](generate) |
| [fxhealthcheck](fxhealthcheck) | Fx module for [healthcheck](healthcheck) |
| [fxhttpclient](fxhttpclient) | Fx module for [httpclient](httpclient) |
| [fxhttpserver](fxhttpserver) | Fx module for [httpserver](httpserver) |
| [fxlog](fxlog) | Fx module for [log](log) |
| [fxmetrics](fxmetrics) | Fx module for [prometheus](https://github.com/prometheus/client_golang) |
| [fxorm](fxorm) | Fx module for [orm](orm) |
Expand Down
62 changes: 62 additions & 0 deletions fxhttpserver/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
run:
timeout: 5m
concurrency: 8

linters:
enable:
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- cyclop
- decorder
- dogsled
- durationcheck
- errcheck
- errchkjson
- errname
- errorlint
- exhaustive
- forbidigo
- forcetypeassert
- gocognit
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- goheader
- gomoddirectives
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
- grouper
- importas
- ineffassign
- interfacebloat
- logrlint
- maintidx
- makezero
- misspell
- nilerr
- nilnil
- nlreturn
- nolintlint
- nosprintfhostport
- predeclared
- promlinter
- reassign
- staticcheck
- tenv
- thelper
- tparallel
- typecheck
- unconvert
- unparam
- unused
- usestdlibvars
- whitespace
Loading

0 comments on commit eb89939

Please sign in to comment.