forked from sloum/bombadillo
Ran go fmt on a few files
This commit is contained in:
parent
552e211139
commit
231ccc36d3
|
@ -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 + + + \\
|
||||
//--------------------------------------------------\\
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
)
|
||||
|
||||
type page struct {
|
||||
Content string
|
||||
Links []string
|
||||
Content string
|
||||
Links []string
|
||||
}
|
||||
|
||||
func Visit(url string, width int) (page, error) {
|
||||
|
|
Loading…
Reference in New Issue