From 1b2697512b15708f7c475f51d8a8f00e3f3db234 Mon Sep 17 00:00:00 2001 From: "darcy.rayner" Date: Wed, 29 May 2019 17:53:42 -0400 Subject: [PATCH] Remove whitespace from readme --- README.md | 64 +++++++++++++++++++++++++++---------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 67c30903..176c4c39 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ import ( func main() { // Wrap your lambda handler like this - lambda.Start( ddlambda.WrapHandler(myHandler, nil)) + lambda.Start(ddlambda.WrapHandler(myHandler, nil)) /* OR with manual configuration options lambda.Start(ddlambda.WrapHandler(myHandler, &ddlambda.Config{ BatchInterval: time.Seconds * 15 @@ -99,22 +99,22 @@ The file content for `datadog-sampling-priority-1.json`: ```json { - "SamplingRule": { - "RuleName": "Datadog-Sampling-Priority-1", - "ResourceARN": "*", - "Priority": 9998, - "FixedRate": 1, - "ReservoirSize": 100, - "ServiceName": "*", - "ServiceType": "AWS::APIGateway::Stage", - "Host": "*", - "HTTPMethod": "*", - "URLPath": "*", - "Version": 1, - "Attributes": { - "x-datadog-sampling-priority": "1" - } + "SamplingRule": { + "RuleName": "Datadog-Sampling-Priority-1", + "ResourceARN": "*", + "Priority": 9998, + "FixedRate": 1, + "ReservoirSize": 100, + "ServiceName": "*", + "ServiceType": "AWS::APIGateway::Stage", + "Host": "*", + "HTTPMethod": "*", + "URLPath": "*", + "Version": 1, + "Attributes": { + "x-datadog-sampling-priority": "1" } + } } ``` @@ -122,22 +122,22 @@ The file content for `datadog-sampling-priority-2.json`: ```json { - "SamplingRule": { - "RuleName": "Datadog-Sampling-Priority-2", - "ResourceARN": "*", - "Priority": 9999, - "FixedRate": 1, - "ReservoirSize": 100, - "ServiceName": "*", - "ServiceType": "AWS::APIGateway::Stage", - "Host": "*", - "HTTPMethod": "*", - "URLPath": "*", - "Version": 1, - "Attributes": { - "x-datadog-sampling-priority": "2" - } + "SamplingRule": { + "RuleName": "Datadog-Sampling-Priority-2", + "ResourceARN": "*", + "Priority": 9999, + "FixedRate": 1, + "ReservoirSize": 100, + "ServiceName": "*", + "ServiceType": "AWS::APIGateway::Stage", + "Host": "*", + "HTTPMethod": "*", + "URLPath": "*", + "Version": 1, + "Attributes": { + "x-datadog-sampling-priority": "2" } + } } ``` @@ -163,4 +163,4 @@ If you find an issue with this package and have a fix, please feel free to open Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. -This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2019 Datadog, Inc. \ No newline at end of file +This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2019 Datadog, Inc.