Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Modify the format error to meet the format automation #545

Closed
plutoyty opened this issue Jul 13, 2023 · 0 comments
Closed

Bug: Modify the format error to meet the format automation #545

plutoyty opened this issue Jul 13, 2023 · 0 comments
Assignees
Labels
bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@plutoyty
Copy link
Contributor

plutoyty commented Jul 13, 2023

What happened?

go.mod:145:1: replacement are not allowed: github.com/Shopify/sarama (gomoddirectives)
replace github.com/Shopify/sarama => github.com/Shopify/sarama v1.29.0
^
internal/push/offlinepush/offlinepush_interface.go:21:6: exported type `OfflinePusher` should have comment or be unexported (golint)
type OfflinePusher interface {
     ^
internal/push/offlinepush/offlinepush_interface.go:25:6: exported type `Opts` should have comment or be unexported (golint)
type Opts struct {
     ^
internal/push/offlinepush/offlinepush_interface.go:32:6: exported type `Signal` should have comment or be unexported (golint)
type Signal struct {

What did you expect to happen?

format cannot pass the automated process

How can we reproduce it (as minimally and precisely as possible)?

Make changes according to the error message

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

@plutoyty plutoyty added the bug Categorizes issue or PR as related to a bug. label Jul 13, 2023
plutoyty added a commit to plutoyty/Open-IM-Server that referenced this issue Jul 14, 2023
github-merge-queue bot pushed a commit that referenced this issue Jul 14, 2023
@cubxxw cubxxw added this to the v3.1 milestone Jul 16, 2023
BanTanger pushed a commit to BanTanger/Open-IM-Server that referenced this issue Jul 25, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

No branches or pull requests

2 participants