Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go fmt #94

Merged
merged 1 commit into from
Oct 17, 2020
Merged

go fmt #94

merged 1 commit into from
Oct 17, 2020

Conversation

hyperioxx
Copy link
Owner

No description provided.

}


type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

@@ -351,10 +351,11 @@ const FIELD_QOP = 22
const FIELD_NONCE = 23
const FIELD_REALM = 24
const FIELD_ALGORITHM = 25
const FIELD_CNONCE = 26
const FIELD_CNONCE = 26
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use ALL_CAPS in Go names; use CamelCase
exported const FIELD_CNONCE should have comment or be unexported

}

func NewContactHeader(){
func NewContactHeader() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewContactHeader should have comment or be unexported

@@ -1,9 +1,9 @@
package message

func NewViaHeader(){

func NewViaHeader() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewViaHeader should have comment or be unexported


func (se * SipEvent) GetSipMessage() *message.SipMsg {
return se.sipmsg
func (se *SipEvent) GetSipMessage() *message.SipMsg {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method SipEvent.GetSipMessage should have comment or be unexported

}

type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

}


type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

@hyperioxx hyperioxx merged commit 3420ac7 into master Oct 17, 2020
@@ -13,14 +13,13 @@ type ListeningPoint interface {
Send(string, string, string) error
}

type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

@@ -14,20 +13,18 @@ type ListeningPoint interface {
Send(string, string, string) error
}


type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

@@ -351,10 +351,11 @@ const FIELD_QOP = 22
const FIELD_NONCE = 23
const FIELD_REALM = 24
const FIELD_ALGORITHM = 25
const FIELD_CNONCE = 26
const FIELD_CNONCE = 26
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use ALL_CAPS in Go names; use CamelCase
exported const FIELD_CNONCE should have comment or be unexported

}

func NewContactHeader(){
func NewContactHeader() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewContactHeader should have comment or be unexported

@@ -1,9 +1,9 @@
package message

func NewViaHeader(){

func NewViaHeader() {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function NewViaHeader should have comment or be unexported


func (se * SipEvent) GetSipMessage() *message.SipMsg {
return se.sipmsg
func (se *SipEvent) GetSipMessage() *message.SipMsg {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method SipEvent.GetSipMessage should have comment or be unexported

}

type SipEventObject interface{
type SipEventObject interface {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SipEventObject should have comment or be unexported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant