Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
outdead committed May 28, 2020
1 parent 2d43f91 commit ef655d8
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 44 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
# internal tests

# vendors
Gopkg.lock
vendor/
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog
All notable changes to this project will be documented in this file.

**ATTN**: This project uses [semantic versioning](http://semver.org/).

## [Unreleased]

## [v1.1.0] - 2020-05-28
### Added
- Added golangci.yml linter config. To run linter use `golangci-lint run` command.
- Added CHANGELOG.md.
- Some code refactoring.

### Changed
- Changed const JsonFormatterCode to more idiomatic JSONFormatterCode.
- Changed go module version to go 1.13.

### Removed
- Removed Gopkg.toml config for dep dependency management tool.

## [v1.0.1] - 2019-09-03
### Added
- Added go modules (go 1.11).

## v1.0.0 - 2019-09-03
### Added
- Initial implementation.

[Unreleased]: https://github.com/outdead/discordbotrus/compare/v1.1.0...HEAD
[v1.1.0]: https://github.com/outdead/discordbotrus/compare/v1.0.1...v1.1.0
[v1.0.1]: https://github.com/outdead/discordbotrus/compare/v1.0.0...v1.0.1
38 changes: 0 additions & 38 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Pavel Korotkiy
Copyright (c) 2020 Pavel Korotkiy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
go get github.com/outdead/discordbotrus
```

Or use dependency manager such as dep or vgo.
See [Changelog](CHANGELOG.md) for release details.

## Requirements

Go 1.13 or higher

## Usage

Expand Down
6 changes: 3 additions & 3 deletions embed_formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ const (
embedMaxFieldNameLen = 256
embedMaxFieldValueLen = 1024
embedMaxDescriptionLen = 2048

// EmbedFormatterCode formatter code to identify from config.
EmbedFormatterCode = "embed"
)

// EmbedFormatterCode formatter code to identify from config.
const EmbedFormatterCode = "embed"

// DefaultEmbedFormatter used as default EmbedFormatter.
var DefaultEmbedFormatter = &EmbedFormatter{
Inline: true,
Expand Down

0 comments on commit ef655d8

Please sign in to comment.