type Page struct{}
func (p*Page) save() error{
  log.Println(p) // тут доступ к экземпляру у которого вызывается метод
  return nil
}
p:=&Page{}
err:=p.save()      
Do not declare methods using ES6 arrow functions (=>). Arrow functions explicitly prevent binding this, so your method will not have access to the document and the above examples will not work.
$('.summernote').summernote({
    lang:"ru-RU",
    height: 300
});$(".summernote").code();