Skip to content

Commit f7e3687

Browse files
author
Mario Hros
committed
new fork repo setup
1 parent ea3da3a commit f7e3687

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# Golang CircleCI 2.0 configuration file
1+
# Golang CircleCI 2.1 configuration file
22
#
33
# Check https://circleci.com/docs/2.0/language-go/ for more details
4-
version: 2
4+
version: 2.1
55
jobs:
66
build:
77
docker:
88
- image: circleci/golang:1.14
99
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
1010
steps:
1111
- checkout
12-
- run: go test -v ./...
12+
- run: go test -v -cover -race -coverprofile=coverage.out ./...
13+
- run: $GOPATH/bin/goveralls -coverprofile=/home/circleci/test/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ Every change merges to master. No development is done in other branches.
1616
- Wait for CI to verify you didn't break anything
1717
- If you did, rewrite it
1818
- If CI passes, wait for manual review by repo's owner
19-
- Your pull request will be merged into master
19+
- Your pull request will be merged into master

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Parsemail - simple email parsing Go library
22

3-
[![Build Status](https://circleci.com/gh/DusanKasan/parsemail.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/DusanKasan/parsemail) [![Coverage Status](https://coveralls.io/repos/github/DusanKasan/Parsemail/badge.svg?branch=master)](https://coveralls.io/github/DusanKasan/Parsemail?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/DusanKasan/parsemail)](https://goreportcard.com/report/github.com/DusanKasan/parsemail)
3+
[![Build Status](https://circleci.com/gh/k3a/parsemail.svg?style=shield)](https://circleci.com/gh/k3a/parsemail) [![Coverage Status](https://coveralls.io/repos/github/k3a/parsemail/badge.svg?branch=master)](https://coveralls.io/github/k3a/parsemail?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/k3a/parsemail)](https://goreportcard.com/report/github.com/k3a/parsemail)
4+
5+
> The [original repo](https://github.com/DusanKasan/parsemail) is unmaintained. This is an active fork replacing the original repo. Contributions are welcome.
46
57
This library allows for parsing an email message into a more convenient form than the `net/mail` provides. Where the `net/mail` just gives you a map of header fields and a `io.Reader` of its body, Parsemail allows access to all the standard header fields set in [RFC5322](https://tools.ietf.org/html/rfc5322), html/text body as well as attachements/embedded content as binary streams with metadata.
68

@@ -55,4 +57,4 @@ for _, a := range(email.EmbeddedFiles) {
5557
fmt.Println(a.ContentType)
5658
//and read a.Data
5759
}
58-
```
60+
```

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/get-net/parsemail
1+
module github.com/k3a/parsemail
22

3-
go 1.12
3+
go 1.12

0 commit comments

Comments
 (0)