nim: export struct members

This commit is contained in:
Christine Dodrill 2015-08-12 12:34:35 -07:00
parent 0f608fcb5a
commit e4a824064c
1 changed files with 5 additions and 5 deletions

View File

@ -3,11 +3,11 @@ import json
type
Episode* = object of RootObj
name: string
air_date: int
season: int
episode: int
is_movie: bool
name*: string
air_date*: int
season*: int
episode*: int
is_movie*: bool
const
API_ENDPOINT: string = "http://ponyapi.apps.xeserv.us"