Skip to content

rwlist/bot

Repository files navigation

bot

To init

To use this repository, you should press "Use this template" button. It will clone this repo to another location.

This repository is not ready after cloning, and you should follow a few steps:

  1. Replace placeholder to match your new repo:
  • github.com/rwlist/bot
  • github.com/<org>/<repo>
  1. Replace placeholder with Arthur Petukhovsky:
  • Arthur Petukhovsky
  • Appropriate Name
  1. Replace the last placeholder with project name:
  • bot
  • your-project
  1. Remove this from README and write some code.

You can also check if everything is ok by running existing code:

# this will download dependencies
go mod download

# this will run existing code
go run main.go

# now program should be running without errors, until Ctrl+C is pressed
Development

Make sure you have:

EnvFile plugin

EnvFile plugin for GoLand is useful for applying conf from .env files. Install here.

To use it:

  • Open [Run configuration]
  • Select EnvFile tab
  • Add file .env from repo root
    • On macOS press shirt+cmd+. to display hidden files

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages