Set the type of Bookmark.Port to int

We know that a port is a number. Lets enforce that
rule at type level by setting it so.

This commit also adjusts test funcs and helper data
to fit Port's new int type.
This commit is contained in:
akarki15
2016-11-10 01:22:12 -05:00
parent 0e88e3e1f4
commit 038cb620c6
4 changed files with 5 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
host = "localhost"
port = "5432"
port = 5432
user = "postgres"
database = "mydatabase"
ssl = "disable"

View File

@@ -1,5 +0,0 @@
host = "localhost"
port = 5432
user = "postgres"
database = "mydatabase"
ssl = "disable"