I want to use mongodb connection from another function in Go example
func Conn() {
client, err :=
mongo.NewClient(options.Client().ApplyURI("mongodb://localhost:27017"))
}
call that function.
func main(){
Conn.client//something like this
}