Пример #1
0
func (s *Source) Update(book models.Book) {
	s.send("update", response.ConvertBook(book))
}
Пример #2
0
func (s *Source) Add(book models.Book) {
	s.send("add", response.ConvertBook(book))
}