mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-25 02:02:37 +02:00
remove useless anonymous func
This commit is contained in:
parent
d716a4cfbd
commit
4a351d5523
@ -57,9 +57,6 @@ func (p *Piwigo) Post(method string, form *url.Values, resp interface{}) error {
|
|||||||
time.Sleep(time.Second) // wait 1 sec before retry
|
time.Sleep(time.Second) // wait 1 sec before retry
|
||||||
}
|
}
|
||||||
|
|
||||||
func() {
|
|
||||||
|
|
||||||
}()
|
|
||||||
req, err := http.NewRequest("POST", Url, strings.NewReader(encodedForm))
|
req, err := http.NewRequest("POST", Url, strings.NewReader(encodedForm))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user