gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/hook_notehook_accessors.go (about) 1 package gitee 2 3 func (nh *NoteHook) GetBody() string { 4 if nh == nil { 5 return "" 6 } 7 8 return nh.Body 9 }