Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-01-07 12:48:23 +00:00
parent fc3cf88dd1
commit 4eaa0d7a79
23 changed files with 1130 additions and 1130 deletions

View File

@@ -6,7 +6,7 @@ Endpoints:
## Offset
Purchase 1kg (0.001 tonnes) of carbon offsets in a single request
Purchase 1 tonne of carbon offsets in a single request
[https://m3o.com/carbon/api#Offset](https://m3o.com/carbon/api#Offset)
@@ -21,7 +21,7 @@ import(
"go.m3o.com/carbon"
)
// Purchase 1kg (0.001 tonnes) of carbon offsets in a single request
// Purchase 1 tonne of carbon offsets in a single request
func OffsetCarbon() {
carbonService := carbon.NewCarbonService(os.Getenv("M3O_API_TOKEN"))
rsp, err := carbonService.Offset(&carbon.OffsetRequest{