5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-24 18:21:37 +00:00

Run goimports

This commit is contained in:
Neil Alexander 2022-04-17 18:02:25 +01:00
parent 90f9be38c5
commit 41d890bb64
7 changed files with 23 additions and 12 deletions

View File

@ -1,3 +1,4 @@
//go:build android
// +build android // +build android
package mobile package mobile

View File

@ -1,3 +1,4 @@
//go:build ios
// +build ios // +build ios
package mobile package mobile

View File

@ -1,3 +1,4 @@
//go:build !android && !ios
// +build !android,!ios // +build !android,!ios
package mobile package mobile

View File

@ -3,14 +3,16 @@
package core package core
import "fmt" import (
"fmt"
import _ "net/http/pprof" "net/http"
import "net/http" _ "net/http/pprof"
import "runtime" "os"
import "os" "runtime"
import "github.com/gologme/log" "github.com/gologme/log"
)
// Start the profiler in debug builds, if the required environment variable is set. // Start the profiler in debug builds, if the required environment variable is set.
func init() { func init() {

View File

@ -3,8 +3,11 @@
package multicast package multicast
import "syscall" import (
import "golang.org/x/sys/unix" "syscall"
"golang.org/x/sys/unix"
)
func (m *Multicast) _multicastStarted() { func (m *Multicast) _multicastStarted() {

View File

@ -3,8 +3,11 @@
package multicast package multicast
import "syscall" import (
import "golang.org/x/sys/windows" "syscall"
"golang.org/x/sys/windows"
)
func (m *Multicast) _multicastStarted() { func (m *Multicast) _multicastStarted() {