mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
add json tags to uri struct
This commit is contained in:
parent
638e328455
commit
f94a2a0cfc
1 changed files with 3 additions and 3 deletions
6
uri.go
6
uri.go
|
|
@ -43,9 +43,9 @@ var addressRegexp = regexp.MustCompile("^(([+a-z]+):\\/\\/)?([0-9a-z.-]+|\\[[:0-
|
|||
// localhost
|
||||
// :10101
|
||||
type URI struct {
|
||||
scheme string
|
||||
host string
|
||||
port uint16
|
||||
scheme string `json:"scheme"`
|
||||
host string `json:"host"`
|
||||
port uint16 `json:"port"`
|
||||
}
|
||||
|
||||
// DefaultURI creates and returns the default URI.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue