Skip to content

Commit 7844cc4

Browse files
committed
chore: better formatting of an example in README.md
1 parent baf75fb commit 7844cc4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ signer, err := httpsig.NewSigner(
4848
httpsig.WithComponents("@authority", "@method", "x-my-fancy-header"),
4949
// a tag for your specific application
5050
httpsig.WithTag("myapp"),
51-
// custom parameter
52-
httpsig.WithParameter("first", "value 1"),
5351
// custom parameter
54-
httpsig.WithParameter("second", httpsig.DisplayString("öäü")),
55-
// custom parameter
56-
httpsig.WithParameter("third", httpsig.Date(time.Now())),
52+
httpsig.WithParameter("first", "value 1"),
53+
// custom parameter
54+
httpsig.WithParameter("second", httpsig.DisplayString("öäü")),
55+
// custom parameter
56+
httpsig.WithParameter("third", httpsig.Date(time.Now())),
5757
)
5858
// error handling goes here
5959

0 commit comments

Comments
 (0)