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

lint: gofumpt #996

Merged
merged 3 commits into from
Feb 21, 2025
Merged

lint: gofumpt #996

merged 3 commits into from
Feb 21, 2025

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Feb 21, 2025

gofumpt is a stricter superset of gofmt

@lance6716
Copy link
Collaborator

  Error: client/example_client_test.go:14:1: File is not properly formatted (gofumpt)
  	//conn, err := client.Connect("127.0.0.1:3306", "root", "", "test", func(c *Conn) {c.UseSSL(true)})
  ^
  Error: client/example_client_test.go:17:1: File is not properly formatted (gofumpt)
  	//tlsConfig := NewClientTLSConfig(caPem, certPem, keyPem, false, "your-server-name")
  ^

@lance6716 lance6716 merged commit 14a14f7 into go-mysql-org:master Feb 21, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants