Ran go fmt on a few files

This commit is contained in:
sloumdrone 2019-10-22 22:13:08 -07:00
parent 552e211139
commit 231ccc36d3
3 changed files with 4 additions and 5 deletions

View File

@ -979,7 +979,7 @@ func (c *client) Visit(url string) {
}
switch strings.ToUpper(c.Options["lynxmode"]) {
case "TRUE":
page, err := http.Visit(u.Full, c.Width - 1)
page, err := http.Visit(u.Full, c.Width-1)
if err != nil {
c.SetMessage(fmt.Sprintf("Lynx error: %s", err.Error()), true)
c.DrawMessage()
@ -1057,7 +1057,6 @@ func (c *client) ReloadPage() error {
return nil
}
//------------------------------------------------\\
// + + + F U N C T I O N S + + + \\
//--------------------------------------------------\\

View File

@ -7,8 +7,8 @@ import (
)
type page struct {
Content string
Links []string
Content string
Links []string
}
func Visit(url string, width int) (page, error) {

View File

@ -1,6 +1,6 @@
package main
// Bombadillo is an internet client for the terminal of unix or
// Bombadillo is an internet client for the terminal of unix or
// unix-like systems.
//
// Copyright (C) 2019 Brian Evans