Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-02 10:16:25 +00:00
parent e56aeee2a7
commit fd8353bc9c
31 changed files with 1698 additions and 1605 deletions

View File

@@ -0,0 +1,17 @@
package main
import (
"fmt"
"os"
"go.m3o.com/password"
)
// Generate a strong random password
func main() {
passwordService := password.NewPasswordService(os.Getenv("M3O_API_TOKEN"))
rsp, err := passwordService.Generate(&password.GenerateRequest{
Length: 16,
})
fmt.Println(rsp, err)
}