cjoudrey / gluahttp

gluahttp: an http module for gopher-lua
MIT License
59 stars 23 forks source link

Cleaning: remove client field from httpModule struct #22

Closed ilius closed 6 years ago

erikdubbelboer commented 6 years ago

In that case maybe just do?:

func NewHttpModule(client *http.Client) *httpModule {
    return NewHttpModuleWithDo(client.Do)
}
ilius commented 6 years ago

Done

erikdubbelboer commented 6 years ago

Thanks.