Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-428

Format ConnString struct back to string

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      Hi, would it be a big deal for you to create func to format ConnString struct back to string?

      https://github.com/mongodb/mongo-go-driver/blob/master/core/connstring/connstring.go#L94

      Currently above returns original string but I would like to modify ConnString and then format it back to string/DSN. Something like in MySQL driver https://github.com/go-sql-driver/mysql/blob/master/dsn.go#L111

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            arvenil Kamil Dziedzic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: