Skip to content

Commit

Permalink
new fork repo setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Hros committed Sep 2, 2023
1 parent ea3da3a commit dc7f947
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
@@ -1,12 +1,14 @@
# Golang CircleCI 2.0 configuration file
# Golang CircleCI 2.1 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
version: 2.1
jobs:
build:
docker:
- image: circleci/golang:1.14
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps:
- checkout
- run: go test -v ./...
- run: GO111MODULE=off go get github.com/mattn/goveralls
- run: go test -v -cover -race -coverprofile=coverage.out ./...
- run: $GOPATH/bin/goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -16,4 +16,4 @@ Every change merges to master. No development is done in other branches.
- Wait for CI to verify you didn't break anything
- If you did, rewrite it
- If CI passes, wait for manual review by repo's owner
- Your pull request will be merged into master
- Your pull request will be merged into master
6 changes: 4 additions & 2 deletions README.md
@@ -1,6 +1,8 @@
# Parsemail - simple email parsing Go library

[![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)
[![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)

> The [original repo](https://github.com/DusanKasan/parsemail) is unmaintained. This is an active fork replacing the original repo. Contributions are welcome.
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.

Expand Down Expand Up @@ -55,4 +57,4 @@ for _, a := range(email.EmbeddedFiles) {
fmt.Println(a.ContentType)
//and read a.Data
}
```
```
4 changes: 2 additions & 2 deletions go.mod
@@ -1,3 +1,3 @@
module github.com/get-net/parsemail
module github.com/k3a/parsemail

go 1.12
go 1.12

0 comments on commit dc7f947

Please sign in to comment.