Skip to content

yiranzai/log-transformer

Repository files navigation

log-transformer

codecov Go Report Card Sourcegraph Open Source Helpers Release FOSSA Status

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

check or fix code style.

see .pre-commit-config.yaml

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

Automatically increment version tags to a git repo based on commit messages.

GitHub Action for GoReleaser

GitHub Action to easily import a GPG key.

New Repository secret

add YOUR_PRIVATE_KEY and PASSPHRASE secrets.

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.

FOSSA Status