modulepackage
0.0.2
Repository: https://github.com/yiranzai/log-transformer.git
Documentation: pkg.go.dev
# README
log-transformer
Parse Log Write And Transform To Other
目录
Usage
Something.
Install
go get github.com/yiranzai/log-transformer
Run
$ cp conf/config.example.yaml conf/config.yaml
$ log-transformer
or
$ log-transformer -f conf/config.yaml
Test
go get gotest.tools/v3
Pre-commit
check or fix code style.
e.g:
- go fmt
- golines
- go mod tiny
- go vet
Install the pre-commit
pip install pre-commit
pre-commit install
vim .pre-commit-config.yaml
Github Workflows
This repo used some workflows
Golang Test And Coverage
Golang Test And Coverage upload to Codecov
Autotag
Automatically increment version tags to a git repo based on commit messages.
Goreleaser
GitHub Action for GoReleaser
ghaction-import-gpg
GitHub Action to easily import a GPG key.
add YOUR_PRIVATE_KEY
and PASSPHRASE
secrets.
Github Markdown TOC
This Github Markdown TOC fork for @ekalinin's Github Markdown TOC.
I Added flags to support for more features.
See ekalinin/github-markdown-toc#110 and ekalinin/github-markdown-toc#115
--all Find all Markdown files for non-hidden folders
--auto Ignore ts/te tags, Automatically at the end/head of the file
--head The TOC is generated in the header of the file, requires --auto
License
This project is licensed under the MIT License. See the LICENSE file for the full license text.