Registry /
messaging / atc0005-go-teams-notify-v2
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
goteamsnotify
✓ github.com/atc0005/go-teams-notify/v2
Sends a message card to a Microsoft Teams webhook URL.
package main
import (
"fmt"
goteamsnotify "github.com/atc0005/go-teams-notify/v2"
)
func main() {
mstClient := goteamsnotify.NewTeamsClient()
msg := goteamsnotify.NewMessageCard()
msg.Title = "Hello"
msg.Text = "World"
err := mstClient.Send("https://outlook.office.com/webhook/...", msg)
if err != nil {
panic(err)
}
fmt.Println("Message sent")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.14.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.