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

fix make format check errors #1401

Merged
merged 2 commits into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/apps/skychat/skychat.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /* cmd/apps/skychat/skychat.go
/*
skychat app for skywire visor
*/
Expand Down
1 change: 1 addition & 0 deletions cmd/apps/skysocks-client/skysocks-client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /* cmd/apps/skysocks-client/skysocks-client.go
/*
proxy client app for skywire visor
*/
Expand Down
1 change: 1 addition & 0 deletions cmd/apps/skysocks/skysocks.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /* cmd/apps/skysocks/skysocks.go
/*
proxy server app for skywire visor
*/
Expand Down
1 change: 1 addition & 0 deletions cmd/setup-node/setup-node.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /*Package main setup-node*/ cmd/setup-node/setup-node.go
/*Package main setup-node*/
package main

Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/config/private.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cliconfig cmd/skywire-cli/commands/config/private.go
package cliconfig

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/config/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cliconfig cmd/skywire-cli/commands/config/root.go
package cliconfig

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/config/update.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package cliconfig cmd/skywire-cli/commands/config/update.go
package cliconfig

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/dmsgpty/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clidmsgpty cmd/skywire-cli/commands/dmsgpty/root.go
package clidmsgpty

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/exec.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/exec.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/hv.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/hv.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/info.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/privacy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/privacy.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/root.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/route.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/route.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/shutdown.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/shutdown.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/start.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/start.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/visor/transports.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivisor cmd/skywire-cli/commands/visor/transports.go
package clivisor

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-cli/commands/vpn/vvpn.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package clivpn cmd/skywire-cli/commands/vpn/vvpn.go
package clivpn

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-systray/skywire-systray.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /* cmd/skywire-systray/skywire-systray.go
/*
skywire systray
*/
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-visor/commands/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package commands cmd/skywire-visor/commands/root.go
package commands

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-visor/commands/systray.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package commands cmd/skywire-visor/commands/systray.go
package commands

import (
Expand Down
1 change: 1 addition & 0 deletions cmd/skywire-visor/skywire-visor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// /* cmd/skywire-visor/skywire-visor.go
/*
skywire visor
*/
Expand Down
1 change: 1 addition & 0 deletions internal/gui/gui.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package gui internal/gui/gui.go
package gui

import (
Expand Down
1 change: 1 addition & 0 deletions internal/gui/gui_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package gui internal/gui/gui_test.go
package gui

import (
Expand Down
1 change: 1 addition & 0 deletions internal/httpauth/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package httpauth internal/httpauth/client_test.go
package httpauth

import (
Expand Down
1 change: 1 addition & 0 deletions internal/httpauth/nonce.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package httpauth internal/httpauth/nonce.go
package httpauth

import (
Expand Down
2 changes: 1 addition & 1 deletion internal/packetfilter/address-filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*Package packetfilter filter packets*/
// Package packetfilter internal/packetfilter/address-filter.go
package packetfilter

import (
Expand Down
1 change: 1 addition & 0 deletions internal/packetfilter/kcp-filter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package packetfilter internal/packetfilter/kcp-filter.go
package packetfilter

import (
Expand Down
1 change: 1 addition & 0 deletions internal/skysocks/common.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package skysocks internal/skysocks/common.go
package skysocks

import (
Expand Down
1 change: 1 addition & 0 deletions internal/skysocks/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package skysocks internal/skysocks/server.go
package skysocks

import (
Expand Down
1 change: 1 addition & 0 deletions internal/skysocks/server_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package skysocks internal/skysocks/server_test.go
package skysocks

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/client_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/client_config.go
package vpn

import "github.com/skycoin/skywire-utilities/pkg/cipher"
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/client_hello.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/client_hello.go
package vpn

import "net"
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/const.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/const.go
package vpn

const (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/env.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/env.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/errors.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/handshake_status.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/handshake_status.go
package vpn

import "errors"
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/ip_generator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/ip_generator.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/net.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/net.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/os.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/os.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/server.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/server_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/server_config.go
package vpn

// ServerConfig is a configuration for VPN server.
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/server_hello.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/server_hello.go
package vpn

import "net"
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/subnet_ip_incrementer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/subnet_ip_incrementer.go
package vpn

import (
Expand Down
1 change: 1 addition & 0 deletions internal/vpn/tun_device.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package vpn internal/vpn/tun_device.go
package vpn

import "io"
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appcommon/hello.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appcommon pkg/app/appcommon/hello.go
package appcommon

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appcommon/log_store.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appcommon pkg/app/appcommon/log_store.go
package appcommon

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appcommon/log_store_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appcommon pkg/app/appcommon/log_store_test.go
package appcommon

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appcommon/proc_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appcommon pkg/app/appcommon/proc_config.go
package appcommon

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appdisc/factory.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appdisc pkg/app/appdisc/factory.go
package appdisc

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/broadcaster_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/broadcaster_test.go
package appevent

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/event.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/event.go
package appevent

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/handshake.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/handshake.go
package appevent

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/rpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/rpc.go
package appevent

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/subscriber.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/subscriber.go
package appevent

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/types.go
package appevent

// AllTypes returns all event types.
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appevent/utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appevent pkg/app/appevent/utils.go
package appevent

import "context"
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/addr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/addr.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/addr_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/addr_test.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/dmsg_networker.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/dmsg_networker.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/errors.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/networker.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/networker.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/networker_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/networker_test.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/skywire_conn.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/skywire_conn.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/skywire_networker.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/skywire_networker.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/type.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/type.go
package appnet

// Type represents the network type.
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/type_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/type_test.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appnet/wrapped_conn.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appnet pkg/app/appnet/wrapped_conn.go
package appnet

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/app_state.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/app_state.go
package appserver

import "github.com/skycoin/skywire/pkg/routing"
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/app_stats.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/app_stats.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/errors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/errors.go
package appserver

// netErr implements `net.Error` to properly
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/proc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/proc.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/proc_manager.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/proc_manager.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/proc_manager_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/proc_manager_test.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/proc_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/proc_test.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/rpc_ingress_client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/rpc_ingress_client.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/rpc_ingress_client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/rpc_ingress_client_test.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/rpc_ingress_gateway.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/rpc_ingress_gateway.go
package appserver

import (
Expand Down
1 change: 1 addition & 0 deletions pkg/app/appserver/rpc_ingress_gateway_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package appserver pkg/app/appserver/rpc_ingress_gateway_test.go
package appserver

import (
Expand Down
Loading