Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-01-12 09:44:30 +00:00
parent 06e0e031f0
commit f238a3dde3
19 changed files with 888 additions and 888 deletions

View File

@@ -6,7 +6,7 @@ Endpoints:
## Offset
Purchase 1 tonne of carbon offsets in a single request
Purchase 1K (0.001 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 1 tonne of carbon offsets in a single request
// Purchase 1K (0.001 tonne) of carbon offsets in a single request
func OffsetCarbon() {
carbonService := carbon.NewCarbonService(os.Getenv("M3O_API_TOKEN"))
rsp, err := carbonService.Offset(&carbon.OffsetRequest{

View File

@@ -7,7 +7,7 @@ import (
"go.m3o.com/carbon"
)
// Purchase 1 tonne of carbon offsets in a single request
// Purchase 1K (0.001 tonne) of carbon offsets in a single request
func main() {
carbonService := carbon.NewCarbonService(os.Getenv("M3O_API_TOKEN"))
rsp, err := carbonService.Offset(&carbon.OffsetRequest{})