gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/gitee/hook_enterprisehook_accessors.go (about)

     1  package gitee
     2  
     3  func (eh *EnterpriseHook) GetName() string {
     4  	if eh == nil {
     5  		return ""
     6  	}
     7  
     8  	return eh.Name
     9  }
    10  
    11  func (eh *EnterpriseHook) GetUrl() string {
    12  	if eh == nil {
    13  		return ""
    14  	}
    15  
    16  	return eh.Url
    17  }