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

apply go fix ./... with latest version of go in repository #2661

Merged
merged 1 commit into from Oct 5, 2023

Conversation

peczenyj
Copy link
Contributor

@peczenyj peczenyj commented Oct 5, 2023

Description

using latest version of go, I just run go fix ./... and this update several files

$ go version
go version go1.21.1 linux/amd64

$ go fix ./...

internal/go-ole/com.go: fixed buildtag
internal/go-ole/com_func.go: fixed buildtag
internal/go-ole/error_func.go: fixed buildtag
internal/go-ole/error_windows.go: fixed buildtag
internal/go-ole/iconnectionpoint_func.go: fixed buildtag
internal/go-ole/iconnectionpoint_windows.go: fixed buildtag
internal/go-ole/iconnectionpointcontainer_func.go: fixed buildtag
internal/go-ole/iconnectionpointcontainer_windows.go: fixed buildtag
internal/go-ole/idispatch_func.go: fixed buildtag
internal/go-ole/idispatch_windows.go: fixed buildtag
internal/go-ole/ienumvariant_func.go: fixed buildtag
internal/go-ole/ienumvariant_windows.go: fixed buildtag
internal/go-ole/iinspectable_func.go: fixed buildtag
internal/go-ole/iinspectable_windows.go: fixed buildtag
internal/go-ole/iprovideclassinfo_func.go: fixed buildtag
internal/go-ole/iprovideclassinfo_windows.go: fixed buildtag
internal/go-ole/itypeinfo_func.go: fixed buildtag
internal/go-ole/itypeinfo_windows.go: fixed buildtag
internal/go-ole/iunknown_func.go: fixed buildtag
internal/go-ole/iunknown_windows.go: fixed buildtag
internal/go-ole/safearray_func.go: fixed buildtag
internal/go-ole/safearray_windows.go: fixed buildtag
internal/go-ole/safearrayslices.go: fixed buildtag
internal/go-ole/variables.go: fixed buildtag
internal/go-ole/variant32.go: fixed buildtag
internal/go-ole/variant64.go: fixed buildtag
internal/go-ole/variant_date_386.go: fixed buildtag
internal/go-ole/variant_date_amd64.go: fixed buildtag
internal/go-ole/winrt.go: fixed buildtag
internal/go-ole/winrt_doc.go: fixed buildtag
internal/go-ole/oleutil/connection.go: fixed buildtag
internal/go-ole/oleutil/connection_func.go: fixed buildtag
internal/go-ole/oleutil/connection_windows.go: fixed buildtag
internal/go-ole/oleutil/go-get.go: fixed buildtag
internal/gopsutil/common/common_darwin.go: fixed buildtag
internal/gopsutil/common/common_freebsd.go: fixed buildtag
internal/gopsutil/common/common_linux.go: fixed buildtag
internal/gopsutil/common/common_openbsd.go: fixed buildtag
internal/gopsutil/common/common_unix.go: fixed buildtag
internal/gopsutil/common/common_windows.go: fixed buildtag
internal/gopsutil/cpu/cpu_darwin.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/cpu/cpu_darwin_cgo.go: fixed buildtag
internal/gopsutil/cpu/cpu_darwin_nocgo.go: fixed buildtag
internal/gopsutil/cpu/cpu_fallback.go: fixed buildtag
internal/gopsutil/cpu/cpu_linux.go: fixed buildtag
internal/gopsutil/cpu/cpu_openbsd.go: fixed buildtag
internal/gopsutil/cpu/cpu_windows.go: fixed buildtag
internal/gopsutil/load/load_bsd.go: fixed buildtag
internal/gopsutil/load/load_darwin.go: fixed buildtag
internal/gopsutil/load/load_fallback.go: fixed buildtag
internal/gopsutil/load/load_freebsd.go: fixed buildtag
internal/gopsutil/load/load_linux.go: fixed buildtag
internal/gopsutil/load/load_openbsd.go: fixed buildtag
internal/gopsutil/load/load_solaris.go: fixed buildtag
internal/gopsutil/load/load_windows.go: fixed buildtag
internal/gopsutil/mem/mem_darwin.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/mem/mem_darwin_cgo.go: fixed buildtag
internal/gopsutil/mem/mem_darwin_nocgo.go: fixed buildtag
internal/gopsutil/mem/mem_fallback.go: fixed buildtag
internal/gopsutil/mem/mem_freebsd.go: fixed buildtag
internal/gopsutil/mem/mem_linux.go: fixed buildtag
internal/gopsutil/mem/mem_openbsd.go: fixed buildtag
internal/gopsutil/mem/mem_openbsd_386.go: fixed buildtag
internal/gopsutil/mem/mem_windows.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/mem/types_openbsd.go: fixed buildtag
internal/gopsutil/net/net_aix.go: fixed buildtag
internal/gopsutil/net/net_darwin.go: fixed buildtag
internal/gopsutil/net/net_fallback.go: fixed buildtag
internal/gopsutil/net/net_freebsd.go: fixed buildtag
internal/gopsutil/net/net_linux.go: fixed buildtag
internal/gopsutil/net/net_openbsd.go: fixed buildtag
internal/gopsutil/net/net_unix.go: fixed buildtag
internal/gopsutil/net/net_windows.go: fixed buildtag
internal/gopsutil/process/process_darwin.go: fixed buildtag
internal/gopsutil/process/process_darwin_arm64.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/process/process_darwin_cgo.go: fixed buildtag
internal/gopsutil/process/process_darwin_nocgo.go: fixed buildtag
internal/gopsutil/process/process_fallback.go: fixed buildtag
internal/gopsutil/process/process_freebsd.go: fixed buildtag
internal/gopsutil/process/process_freebsd_arm64.go: fixed buildtag
internal/gopsutil/process/process_linux.go: fixed buildtag
internal/gopsutil/process/process_openbsd.go: fixed buildtag
internal/gopsutil/process/process_openbsd_386.go: fixed buildtag
internal/gopsutil/process/process_posix.go: fixed buildtag
internal/gopsutil/process/process_windows.go: fixed buildtag
internal/gopsutil/process/process_windows_386.go: fixed buildtag
internal/gopsutil/process/process_windows_amd64.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/process/types_darwin.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/process/types_freebsd.go: fixed buildtag
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
go fix: warning: no cgo types: exit status 1
internal/gopsutil/process/types_openbsd.go: fixed buildtag
utils/convert_b2s_new.go: fixed buildtag
utils/convert_b2s_old.go: fixed buildtag
utils/convert_s2b_new.go: fixed buildtag
utils/convert_s2b_old.go: fixed buildtag

Type of change

minor change in build tags

Checklist:

  • [ x] For new functionalities I follow the inspiration of the express js framework and built them similar in usage
  • [ x] I have performed a self-review of my own code
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • [ x] I have made corresponding changes to the documentation - /docs/ directory for https://docs.gofiber.io/
  • [ x] I have added tests that prove my fix is effective or that my feature works
  • [ x] New and existing unit tests pass locally with my changes
  • [ x] If new dependencies exist, I have checked that they are really necessary and agreed with the maintainers/community (we want to have as few dependencies as possible)
  • [ x] I tried to make my code as fast as possible with as few allocations as possible
  • [ x] For new code I have written benchmarks so that they can be analyzed and improved

Commit formatting:

Use emojis on commit messages so it provides an easy way of identifying the purpose or intention of a commit. Check out the emoji cheatsheet here: https://gitmoji.carloscuesta.me/

@ReneWerner87 ReneWerner87 merged commit d25dfa4 into gofiber:master Oct 5, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants