Go FMT run on entire project
This commit is contained in:
parent
7c7d80b557
commit
86790133e1
4 changed files with 6 additions and 6 deletions
|
@ -1,12 +1,12 @@
|
|||
package rapl
|
||||
|
||||
import (
|
||||
"golang.org/x/crypto/ssh"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/crypto/ssh"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
func Cap(host, username string, percentage int) (error) {
|
||||
func Cap(host, username string, percentage int) error {
|
||||
|
||||
if percentage > 100 || percentage < 0 {
|
||||
return errors.New("Percentage is out of range")
|
||||
|
|
Reference in a new issue