Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostController ¶
type PostController interface { GetPosts(w http.ResponseWriter, r *http.Request) AddPost(w http.ResponseWriter, r *http.Request) }
func NewPostController ¶
func NewPostController(service service.PostService) PostController
Click to show internal directories.
Click to hide internal directories.