Codebase list golang-github-go-logfmt-logfmt / 114ecfa5-15f2-41ca-bd6c-839f240a93ed/main
New upstream release. Debian Janitor 2 years ago
5 changed file(s) with 85 addition(s) and 52 deletion(s). Raw diff Collapse all Expand all
0 on:
1 push:
2 pull_request:
3 types: [synchronize]
4 schedule:
5 - cron: "0 0 1,11,21 * *"
6 name: "Build and Test"
7 jobs:
8 test:
9 strategy:
10 fail-fast: false
11 matrix:
12 go-version:
13 - 1.13.x
14 - 1.14.x
15 - 1.15.x
16 - 1.16.x
17 - 1.17.x
18 os: [ubuntu-latest, macos-latest, windows-latest]
19 runs-on: ${{ matrix.os }}
20 steps:
21 - name: Install Go
22 uses: actions/setup-go@v2
23 with:
24 go-version: ${{ matrix.go-version }}
25 - name: Checkout code
26 uses: actions/checkout@v2
27 - name: Test
28 run: go test ./...
29 - name: Test coverage
30 run: go test -coverprofile="cover.out" ./... # quotes needed for powershell
31 - name: Send coverage
32 uses: shogo82148/actions-goveralls@v1
33 with:
34 path-to-profile: cover.out
35 flag-name: go${{ matrix.go-version }}-${{ matrix.os }}
36 parallel: true
37 # notifies that all test jobs are finished.
38 finish:
39 needs: test
40 runs-on: ubuntu-latest
41 steps:
42 - uses: shogo82148/actions-goveralls@v1
43 with:
44 parallel-finished: true
+0
-18
.travis.yml less more
0 language: go
1 sudo: false
2 go:
3 - "1.7.x"
4 - "1.8.x"
5 - "1.9.x"
6 - "1.10.x"
7 - "1.11.x"
8 - "1.12.x"
9 - "1.13.x"
10 - "tip"
11
12 before_install:
13 - go get github.com/mattn/goveralls
14 - go get golang.org/x/tools/cmd/cover
15
16 script:
17 - goveralls -service=travis-ci
0 [![GoDoc](https://godoc.org/github.com/go-logfmt/logfmt?status.svg)](https://godoc.org/github.com/go-logfmt/logfmt)
1 [![Go Report Card](https://goreportcard.com/badge/go-logfmt/logfmt)](https://goreportcard.com/report/go-logfmt/logfmt)
2 [![TravisCI](https://travis-ci.org/go-logfmt/logfmt.svg?branch=master)](https://travis-ci.org/go-logfmt/logfmt)
3 [![Coverage Status](https://coveralls.io/repos/github/go-logfmt/logfmt/badge.svg?branch=master)](https://coveralls.io/github/go-logfmt/logfmt?branch=master)
4
5 # logfmt
6
7 Package logfmt implements utilities to marshal and unmarshal data in the [logfmt
8 format](https://brandur.org/logfmt). It provides an API similar to
9 [encoding/json](http://golang.org/pkg/encoding/json/) and
10 [encoding/xml](http://golang.org/pkg/encoding/xml/).
11
12 The logfmt format was first documented by Brandur Leach in [this
13 article](https://brandur.org/logfmt). The format has not been formally
14 standardized. The most authoritative public specification to date has been the
15 documentation of a Go Language [package](http://godoc.org/github.com/kr/logfmt)
16 written by Blake Mizerany and Keith Rarick.
17
18 ## Goals
19
20 This project attempts to conform as closely as possible to the prior art, while
21 also removing ambiguity where necessary to provide well behaved encoder and
22 decoder implementations.
23
24 ## Non-goals
25
26 This project does not attempt to formally standardize the logfmt format. In the
27 event that logfmt is standardized this project would take conforming to the
28 standard as a goal.
29
30 ## Versioning
31
32 Package logfmt publishes releases via [semver](http://semver.org/) compatible Git tags prefixed with a single 'v'.
0 [![Go Reference](https://pkg.go.dev/badge/github.com/go-logfmt/logfmt.svg)](https://pkg.go.dev/github.com/go-logfmt/logfmt)
1 [![Go Report Card](https://goreportcard.com/badge/go-logfmt/logfmt)](https://goreportcard.com/report/go-logfmt/logfmt)
2 [![Github Actions](https://github.com/go-logfmt/logfmt/actions/workflows/test.yml/badge.svg)](https://github.com/go-logfmt/logfmt/actions/workflows/test.yml)
3 [![Coverage Status](https://coveralls.io/repos/github/go-logfmt/logfmt/badge.svg?branch=master)](https://coveralls.io/github/go-logfmt/logfmt?branch=master)
4
5 # logfmt
6
7 Package logfmt implements utilities to marshal and unmarshal data in the [logfmt
8 format](https://brandur.org/logfmt). It provides an API similar to
9 [encoding/json](http://golang.org/pkg/encoding/json/) and
10 [encoding/xml](http://golang.org/pkg/encoding/xml/).
11
12 The logfmt format was first documented by Brandur Leach in [this
13 article](https://brandur.org/logfmt). The format has not been formally
14 standardized. The most authoritative public specification to date has been the
15 documentation of a Go Language [package](http://godoc.org/github.com/kr/logfmt)
16 written by Blake Mizerany and Keith Rarick.
17
18 ## Goals
19
20 This project attempts to conform as closely as possible to the prior art, while
21 also removing ambiguity where necessary to provide well behaved encoder and
22 decoder implementations.
23
24 ## Non-goals
25
26 This project does not attempt to formally standardize the logfmt format. In the
27 event that logfmt is standardized this project would take conforming to the
28 standard as a goal.
29
30 ## Versioning
31
32 Package logfmt publishes releases via [semver](http://semver.org/) compatible Git tags prefixed with a single 'v'.
0 golang-github-go-logfmt-logfmt (0.5.1-1) UNRELEASED; urgency=low
1
2 * New upstream release.
3
4 -- Debian Janitor <janitor@jelmer.uk> Tue, 15 Mar 2022 01:59:56 -0000
5
06 golang-github-go-logfmt-logfmt (0.5.0-2) unstable; urgency=medium
17
28 * Team upload.
00 module github.com/go-logfmt/logfmt
11
2 go 1.13
2 go 1.17