That editorconfig file really butchered the formatting for go

This commit is contained in:
Dane Everitt
2019-03-24 18:00:21 -07:00
parent 4bdf373ab8
commit 29de97c857
8 changed files with 312 additions and 271 deletions

View File

@@ -1,16 +1,16 @@
package environment
import (
"github.com/pterodactyl/wings"
"os"
"github.com/pterodactyl/wings"
"os"
)
type Docker struct {
*Controller
*Controller
// Defines the configuration for the Docker instance that will allow us to connect
// and create and modify containers.
Configuration wings.DockerConfiguration
// Defines the configuration for the Docker instance that will allow us to connect
// and create and modify containers.
Configuration wings.DockerConfiguration
}
// Ensure that the Docker environment is always implementing all of the methods
@@ -18,17 +18,17 @@ type Docker struct {
var _ Environment = (*Docker)(nil)
func (d *Docker) Exists() bool {
return true
return true
}
func (d *Docker) Start() error {
return nil
return nil
}
func (d *Docker) Stop() error {
return nil
return nil
}
func (d *Docker) Terminate(signal os.Signal) error {
return nil
return nil
}