rules

package
v0.0.0-...-ea7af3d Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRule

func AddRule(ctx context.Context, repo_url string, access_token string, content string) error

addRule Creates PR in repository which adding {content} to README file

func GetRules

func GetRules(ctx context.Context, repo_url string, access_token string) (string, error)

get content of rules by repo link. should return contains of README.md file TODO: test it!

func SetRules

func SetRules()

attach rules github readme link to a chat

Types

This section is empty.

Jump to

Keyboard shortcuts

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