mirror of
https://github.com/celogeek/piwigo-cli.git
synced 2025-05-24 17:52:36 +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
|
||||
}
|
||||
|
||||
func() {
|
||||
|
||||
}()
|
||||
req, err := http.NewRequest("POST", Url, strings.NewReader(encodedForm))
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user