Versions in this module Expand all Collapse all v0 v0.1.0 Mar 12, 2018 Changes in this version + type Post struct + Body string + ID int + Title string + UserID int + type PostImpl struct + func (p *PostImpl) Create(ctx context.Context, newPost *Post) (*Post, *http.Response, error) + func (p *PostImpl) Delete(ctx context.Context, id int) (*http.Response, error) + func (p *PostImpl) Get(ctx context.Context, id int) (*Post, *http.Response, error) + func (p *PostImpl) List(ctx context.Context) ([]Post, *http.Response, error) + type PostService interface + Create func(context.Context, *Post) (*Post, *http.Response, error) + Delete func(context.Context, int) (*http.Response, error) + Get func(context.Context, int) (*Post, *http.Response, error) + List func(context.Context) ([]Post, *http.Response, error)