Skip to content

Commit

Permalink
readme: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Jan 4, 2018
1 parent 8cb4717 commit 3707cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ A Go library to create and parse [Authentication-Results header fields](https://
```go
// Format
results := []msgauth.Result{
&msgauth.SPFResult{Value: ResultPass, From: "example.net"},
&msgauth.AuthResult{Value: ResultPass, Auth: "[email protected]"},
&msgauth.SPFResult{Value: msgauth.ResultPass, From: "example.net"},
&msgauth.AuthResult{Value: msgauth.ResultPass, Auth: "[email protected]"},
}
s := msgauth.Format("example.com", results)
log.Println(s)
Expand Down

0 comments on commit 3707cec

Please sign in to comment.