Skip to content

Commit

Permalink
See changelog 2024-10-11
Browse files Browse the repository at this point in the history
  • Loading branch information
mondegor committed Oct 10, 2024
1 parent f179aa0 commit bfcd2d3
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 16 deletions.
13 changes: 12 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ linters:
- exportloopref # checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
- forbidigo # Forbids identifiers [fast: false, auto-fix: false]
- forcetypeassert # finds forced type assertions [fast: true, auto-fix: false]
# DELAYED - gci # FIXABLE, Gci controls Go package import order and makes it always deterministic. [fast: true, auto-fix: true]
- gci # FIXABLE, Gci controls Go package import order and makes it always deterministic. [fast: true, auto-fix: true]
# DELAYED - funlen # Tool for detection of long functions [fast: true, auto-fix: false]
- gochecknoglobals # Check that no global variables exist. [fast: false, auto-fix: false]
- gochecknoinits # Checks that no init functions are present in Go code [fast: true, auto-fix: false]
Expand Down Expand Up @@ -100,6 +100,17 @@ linters-settings:
# Default: 150
threshold: 125

gci:
# Section configuration to compare against.
# Section names are case-insensitive and may contain parameters in ().
# The default order of sections is `standard > default > custom > blank > dot > alias > localmodule`,
# If `custom-order` is `true`, it follows the order of `sections` option.
# Default: ["standard", "default"]
sections:
- standard # Standard section: captures all standard packages.
- default # Default section: contains all imports that could not be matched to another section type.
- prefix(github.com/mondegor/go-components) # Custom section: groups all imports with the specified Prefix.

gofumpt:
# Choose whether to use the extra rules.
# Default: false
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# GoStorage Changelog
Все изменения библиотеки GoComponents будут документироваться на этой странице.

## 2024-10-11
### Added
- Подключён и настроен линтер `gci`;

## 2024-10-09
### Changed
- Заменены следующие типы:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Описание GoComponents v0.7.13
# Описание GoComponents v0.7.14
Этот репозиторий содержит описание библиотеки GoComponents.

## Статус библиотеки
Expand All @@ -11,7 +11,7 @@
позволяет встраиваться в произвольные таблицы БД;

## Подключение библиотеки
`go get -u github.com/mondegor/[email protected].13`
`go get -u github.com/mondegor/[email protected].14`

## Установка библиотеки для её локальной разработки
- Выбрать рабочую директорию, где должна быть расположена библиотека
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/mondegor/go-components

go 1.22.0
go 1.22.6

require (
github.com/mondegor/go-storage v0.14.0
github.com/mondegor/go-sysmess v0.11.5
github.com/mondegor/go-webcore v0.25.0
github.com/mondegor/go-storage v0.14.1
github.com/mondegor/go-sysmess v0.11.6
github.com/mondegor/go-webcore v0.25.1
)

require (
Expand All @@ -15,7 +15,7 @@ require (
github.com/jackc/pgx/v5 v5.7.1 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
golang.org/x/crypto v0.28.0 // indirect
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 // indirect
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/text v0.19.0 // indirect
)
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ github.com/jackc/pgx/v5 v5.7.1 h1:x7SYsPBYDkHDksogeSmZZ5xzThcTgRz++I5E+ePFUcs=
github.com/jackc/pgx/v5 v5.7.1/go.mod h1:e7O26IywZZ+naJtWWos6i6fvWK+29etgITqrqHLfoZA=
github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo=
github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/mondegor/go-storage v0.14.0 h1:NmA4GbIkjyV2nut9MNUHIZte/hfRSA/TBMxT2kG1YEc=
github.com/mondegor/go-storage v0.14.0/go.mod h1:MUqjmzBoHX2QefmkSI3dbVFkq1xqh5ur2U3rck233HQ=
github.com/mondegor/go-sysmess v0.11.5 h1:pI+8xPDwsXUSYYSnWg7hICJdB7I/CRMOjiVuO6N6p30=
github.com/mondegor/go-sysmess v0.11.5/go.mod h1:lmtm83olOIDpxyfhjLT5ZTX4sQIUYH/Gv2A6pfbCSsc=
github.com/mondegor/go-webcore v0.25.0 h1:vK9pzqxFas9LyOquUSdVktpbjPdSySrh0qAsoYlgq0k=
github.com/mondegor/go-webcore v0.25.0/go.mod h1:VgKlVPHPwTzz8z0Q+5oyQyNgIch+ve/UQ2onPf0Mlfk=
github.com/mondegor/go-storage v0.14.1 h1:RM2pJmY7zdDod/RmxlLCVvH/Y7nxQJLPRqeS6Fvefdc=
github.com/mondegor/go-storage v0.14.1/go.mod h1:G33ZSydvbuQieB95vc/UBI+OolqaYqKJKXmidzPv+KY=
github.com/mondegor/go-sysmess v0.11.6 h1:4WNH9SblP7JJ0+F2/D9JTzryJ/No98FU1ovNQIpvx5I=
github.com/mondegor/go-sysmess v0.11.6/go.mod h1:lmtm83olOIDpxyfhjLT5ZTX4sQIUYH/Gv2A6pfbCSsc=
github.com/mondegor/go-webcore v0.25.1 h1:udlUNS2lUkj7aOuJqdIblNOodf3Nt+NvmdlUgtYDVgM=
github.com/mondegor/go-webcore v0.25.1/go.mod h1:N3ltzfpKzsSDm7yR0TtbUz48POF+3gp+wek6okKetaQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand All @@ -28,8 +28,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6 h1:1wqE9dj9NpSm04INVsJhhEUzhuDVjbcyKH91sVyPATw=
golang.org/x/exp v0.0.0-20241004190924-225e2abe05e6/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8=
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY=
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
Expand Down

0 comments on commit bfcd2d3

Please sign in to comment.