Skip to content

Commit

Permalink
upgrade packages version in go.mod and add golangci rules
Browse files Browse the repository at this point in the history
  • Loading branch information
free5gc-org committed Oct 8, 2021
1 parent b173231 commit c661524
Show file tree
Hide file tree
Showing 182 changed files with 765 additions and 1,939 deletions.
17 changes: 17 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
kind: pipeline
name: development

steps:
#- name: Check coding style
# pull: never
# image: drone/base:golangci-lint
# depends_on: [ clone ]
# commands:
# - golangci-lint run ./...

- name: Unit test and build
pull: never
image: drone/base:gotest
depends_on: [ clone ]
commands:
- gotestsum ./... -v -cover -race
5 changes: 3 additions & 2 deletions Namf_Communication/api_individual_subscription_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
5 changes: 3 additions & 2 deletions Namf_Communication/api_individual_ue_context_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
5 changes: 3 additions & 2 deletions Namf_Communication/api_n1_n2_message_collection_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_Communication
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
5 changes: 3 additions & 2 deletions Namf_Communication/api_subscriptions_collection_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package Namf_Communication

import (
"context"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

type AmfStatusChangeCallbackDocumentApiService service
Expand Down
82 changes: 0 additions & 82 deletions Namf_Communication/client_debug.go

This file was deleted.

50 changes: 0 additions & 50 deletions Namf_Communication/logger/logger.go

This file was deleted.

5 changes: 3 additions & 2 deletions Namf_EventExposure/api_individual_subscription_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ package Namf_EventExposure
import (
"context"
"fmt"
"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
"io/ioutil"
"net/http"
"net/url"
"strings"

"github.com/free5gc/openapi"
"github.com/free5gc/openapi/models"
)

// Linger please
Expand Down

0 comments on commit c661524

Please sign in to comment.