Skip to content

Commit

Permalink
apply go fix ./... with latest version of go in repository (#2661)
Browse files Browse the repository at this point in the history
apply go fix ./...
  • Loading branch information
peczenyj authored Oct 5, 2023
1 parent 9230be3 commit d25dfa4
Show file tree
Hide file tree
Showing 94 changed files with 0 additions and 94 deletions.
1 change: 0 additions & 1 deletion internal/go-ole/com.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/com_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/error_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/error_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iconnectionpoint_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iconnectionpoint_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iconnectionpointcontainer_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iconnectionpointcontainer_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/idispatch_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/idispatch_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/ienumvariant_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/ienumvariant_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iinspectable_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iinspectable_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iprovideclassinfo_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iprovideclassinfo_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/itypeinfo_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/itypeinfo_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iunknown_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/iunknown_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/oleutil/connection.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package oleutil

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/oleutil/connection_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package oleutil

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/oleutil/connection_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package oleutil

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/oleutil/go-get.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
// no buildable Go source files in ...
//
//go:build !windows
// +build !windows

package oleutil
1 change: 0 additions & 1 deletion internal/go-ole/safearray_func.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/safearray_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/safearrayslices.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/variables.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/variant32.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build 386 || arm
// +build 386 arm

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/variant64.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build amd64 || arm64 || ppc64le || s390x
// +build amd64 arm64 ppc64le s390x

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/variant_date_386.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows && 386
// +build windows,386

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/variant_date_amd64.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows && amd64
// +build windows,amd64

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/winrt.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/go-ole/winrt_doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package ole

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd || openbsd
// +build freebsd openbsd

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build openbsd
// +build openbsd

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux || freebsd || darwin || openbsd
// +build linux freebsd darwin openbsd

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/common/common_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package common

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_darwin_cgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin && cgo
// +build darwin,cgo

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_darwin_nocgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin && !cgo
// +build darwin,!cgo

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_fallback.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !darwin && !linux && !freebsd && !openbsd && !solaris && !windows && !dragonfly
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows,!dragonfly

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build openbsd
// +build openbsd

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/cpu/cpu_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package cpu

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_bsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd || openbsd
// +build freebsd openbsd

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_fallback.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !darwin && !linux && !freebsd && !openbsd && !windows && !solaris
// +build !darwin,!linux,!freebsd,!openbsd,!windows,!solaris

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd
// +build freebsd

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build openbsd
// +build openbsd

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_solaris.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build solaris
// +build solaris

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/load/load_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package load

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin
// +build darwin

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_darwin_cgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin && cgo
// +build darwin,cgo

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_darwin_nocgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build darwin && !cgo
// +build darwin,!cgo

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_fallback.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !darwin && !linux && !freebsd && !openbsd && !solaris && !windows
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build freebsd
// +build freebsd

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build openbsd
// +build openbsd

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_openbsd_386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion internal/gopsutil/mem/mem_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

package mem

Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/mem/types_openbsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

/*
Input to cgo -godefs.
Expand Down
1 change: 0 additions & 1 deletion internal/gopsutil/net/net_aix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build aix
// +build aix

package net

Expand Down
Loading

0 comments on commit d25dfa4

Please sign in to comment.