ryanjdew / go-marklogic-go

A Golang REST Client library for MarkLogic
Other
6 stars 4 forks source link

Ports should not be hardcoded #3

Open rlouapre opened 9 years ago

rlouapre commented 9 years ago

They should default to the standard value but it should be possible to override them

https://github.com/ryanjdew/go-marklogic-go/blob/master/clients/managementClient.go#L17

rlouapre commented 9 years ago

One option would be to pass a struct connection

https://github.com/rlouapre/go-marklogic-go/blob/master/clients/adminClient_test.go#L16