slack

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 6 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Slack Incoming Webhook for Go

Installation

go get github.com/Girein/slack-incoming-webhook-go

Setup

Add SLACK_WEBHOOK_URL in your .env file:

SLACK_WEBHOOK_URL=your-slack-incoming-webhook-url

Usage

import "github.com/Girein/slack-incoming-webhook-go"

slack.PostMessage("Hello World!")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostMessage

func PostMessage(text string) error

PostMessage post a message to Incoming Webhook URL

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址