{"action":"closed","issue":{"url":"https://api.github.com/repos/go-swagger/go-swagger/issues/255","repository_url":"https://api.github.com/repos/go-swagger/go-swagger","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/255/comments","events_url":"https://api.github.com/repos/go-swagger/go-swagger/issues/255/events","html_url":"https://github.com/go-swagger/go-swagger/issues/255","id":131501785,"number":255,"title":"missing import: model not compiling","user":{"login":"baracoder","id":127523,"avatar_url":"https://avatars.githubusercontent.com/u/127523?v=3","gravatar_id":"","url":"https://api.github.com/users/baracoder","html_url":"https://github.com/baracoder","followers_url":"https://api.github.com/users/baracoder/followers","following_url":"https://api.github.com/users/baracoder/following{/other_user}","gists_url":"https://api.github.com/users/baracoder/gists{/gist_id}","starred_url":"https://api.github.com/users/baracoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baracoder/subscriptions","organizations_url":"https://api.github.com/users/baracoder/orgs","repos_url":"https://api.github.com/users/baracoder/repos","events_url":"https://api.github.com/users/baracoder/events{/privacy}","received_events_url":"https://api.github.com/users/baracoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-swagger/go-swagger/labels/Type:%20Bug","name":"Type: Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/go-swagger/go-swagger/milestones/2","html_url":"https://github.com/go-swagger/go-swagger/milestones/Complete%20functionality","labels_url":"https://api.github.com/repos/go-swagger/go-swagger/milestones/2/labels","id":1161277,"number":2,"title":"Complete functionality","description":"Complete the rest of the swagger spec implementation.\r\n\r\nShould support the entire swagger specification for:\r\n\r\n* generation of server\r\n* generation of client\r\n* generation of spec\r\n\r\nThe generation of a spec and the generation of a server should be able to be used complementary.","creator":{"login":"casualjim","id":456109,"avatar_url":"https://avatars.githubusercontent.com/u/456109?v=3","gravatar_id":"","url":"https://api.github.com/users/casualjim","html_url":"https://github.com/casualjim","followers_url":"https://api.github.com/users/casualjim/followers","following_url":"https://api.github.com/users/casualjim/following{/other_user}","gists_url":"https://api.github.com/users/casualjim/gists{/gist_id}","starred_url":"https://api.github.com/users/casualjim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casualjim/subscriptions","organizations_url":"https://api.github.com/users/casualjim/orgs","repos_url":"https://api.github.com/users/casualjim/repos","events_url":"https://api.github.com/users/casualjim/events{/privacy}","received_events_url":"https://api.github.com/users/casualjim/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":20,"state":"open","created_at":"2015-06-12T03:23:47Z","updated_at":"2016-02-26T00:38:08Z","due_on":"2016-02-29T08:00:00Z","closed_at":null},"comments":6,"created_at":"2016-02-04T23:08:08Z","updated_at":"2016-02-26T00:38:08Z","closed_at":"2016-02-26T00:38:08Z","body":"Hello,\r\n\r\nI have generated code from a spec.\r\nWhile compiling i get an error\r\n```\r\ngo install ./cmd/ini-goapi-server                                                                                   :(\r\n# ini-goapi/models\r\nmodels/file.go:34: undefined: strfmt\r\nmodels/hit.go:26: undefined: strfmt\r\nmodels/member.go:18: undefined: strfmt\r\n```\r\n\r\nExample model file content:\r\n```\r\npackage models\r\n\r\n// This file was generated by the swagger tool.\r\n// Editing this file might prove futile when you re-run the swagger generate command\r\n\r\n/*File File file\r\n\r\nswagger:model File\r\n*/\r\ntype File struct {\r\n\r\n\t/* text content of the file, if availible\r\n\t */\r\n\tContent *string `json:\"content,omitempty\"`\r\n\r\n\t/* DownloadLink download link\r\n\t */\r\n\tDownloadLink *string `json:\"downloadLink,omitempty\"`\r\n\r\n\t/* Mime mime\r\n\t */\r\n\tMime *string `json:\"mime,omitempty\"`\r\n\r\n\t/* Name name\r\n\t */\r\n\tName *string `json:\"name,omitempty\"`\r\n\r\n\t/* size in bytes\r\n\t */\r\n\tSize *string `json:\"size,omitempty\"`\r\n}\r\n\r\n// Validate validates this file\r\nfunc (m *File) Validate(formats strfmt.Registry) error {\r\n\treturn nil\r\n}\r\n\r\n```\r\n\r\ngo version go1.4.2 linux/amd64\r\n"}}