Skip to content

Commit c661524

Browse files
committed
upgrade packages version in go.mod and add golangci rules
1 parent b173231 commit c661524

File tree

182 files changed

+765
-1939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+765
-1939
lines changed

.drone.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
kind: pipeline
2+
name: development
3+
4+
steps:
5+
#- name: Check coding style
6+
# pull: never
7+
# image: drone/base:golangci-lint
8+
# depends_on: [ clone ]
9+
# commands:
10+
# - golangci-lint run ./...
11+
12+
- name: Unit test and build
13+
pull: never
14+
image: drone/base:gotest
15+
depends_on: [ clone ]
16+
commands:
17+
- gotestsum ./... -v -cover -race

Namf_Communication/api_individual_subscription_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_individual_ue_context_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_individual_ue_context_n2_message_notify_callback_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package Namf_Communication
22

33
import (
44
"context"
5-
"github.com/free5gc/openapi"
6-
"github.com/free5gc/openapi/models"
75
"io/ioutil"
86
"net/http"
97
"net/url"
108
"strings"
9+
10+
"github.com/free5gc/openapi"
11+
"github.com/free5gc/openapi/models"
1112
)
1213

1314
// Linger please

Namf_Communication/api_n1_n2_individual_subscription_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_n1_n2_message_collection_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_n1_n2_message_n1_message_notify_callback_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package Namf_Communication
22

33
import (
44
"context"
5-
"github.com/free5gc/openapi"
6-
"github.com/free5gc/openapi/models"
75
"io/ioutil"
86
"net/http"
97
"net/url"
108
"strings"
9+
10+
"github.com/free5gc/openapi"
11+
"github.com/free5gc/openapi/models"
1112
)
1213

1314
// Linger please

Namf_Communication/api_n1_n2_message_n2_message_notify_callback_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package Namf_Communication
22

33
import (
44
"context"
5-
"github.com/free5gc/openapi"
6-
"github.com/free5gc/openapi/models"
75
"io/ioutil"
86
"net/http"
97
"net/url"
108
"strings"
9+
10+
"github.com/free5gc/openapi"
11+
"github.com/free5gc/openapi/models"
1112
)
1213

1314
// Linger please

Namf_Communication/api_n1_n2_message_transfer_status_notification_callback_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ package Namf_Communication
1111

1212
import (
1313
"context"
14-
"github.com/free5gc/openapi"
15-
"github.com/free5gc/openapi/models"
1614
"io/ioutil"
1715
"net/http"
1816
"net/url"
1917
"strings"
18+
19+
"github.com/free5gc/openapi"
20+
"github.com/free5gc/openapi/models"
2021
)
2122

2223
// Linger please

Namf_Communication/api_n1_n2_subscriptions_collection_for_individual_ue_contexts_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_non_uen2_message_notification_individual_subscription_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_Communication
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

Namf_Communication/api_non_uen2_messages_collection_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ package Namf_Communication
1111

1212
import (
1313
"context"
14-
"github.com/free5gc/openapi"
15-
"github.com/free5gc/openapi/models"
1614
"io/ioutil"
1715
"net/http"
1816
"net/url"
1917
"strings"
18+
19+
"github.com/free5gc/openapi"
20+
"github.com/free5gc/openapi/models"
2021
)
2122

2223
// Linger please

Namf_Communication/api_non_uen2_messages_subscriptions_collection_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ package Namf_Communication
1111

1212
import (
1313
"context"
14-
"github.com/free5gc/openapi"
15-
"github.com/free5gc/openapi/models"
1614
"io/ioutil"
1715
"net/http"
1816
"net/url"
1917
"strings"
18+
19+
"github.com/free5gc/openapi"
20+
"github.com/free5gc/openapi/models"
2021
)
2122

2223
// Linger please

Namf_Communication/api_subscriptions_collection_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ package Namf_Communication
1111

1212
import (
1313
"context"
14-
"github.com/free5gc/openapi"
15-
"github.com/free5gc/openapi/models"
1614
"io/ioutil"
1715
"net/http"
1816
"net/url"
1917
"strings"
18+
19+
"github.com/free5gc/openapi"
20+
"github.com/free5gc/openapi/models"
2021
)
2122

2223
// Linger please

Namf_Communication/api_subscriptions_collection_document_amf_status_change_notify_callback_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ package Namf_Communication
22

33
import (
44
"context"
5-
"github.com/free5gc/openapi"
6-
"github.com/free5gc/openapi/models"
75
"io/ioutil"
86
"net/http"
97
"net/url"
108
"strings"
9+
10+
"github.com/free5gc/openapi"
11+
"github.com/free5gc/openapi/models"
1112
)
1213

1314
type AmfStatusChangeCallbackDocumentApiService service

Namf_Communication/client_debug.go

Lines changed: 0 additions & 82 deletions
This file was deleted.

Namf_Communication/logger/logger.go

Lines changed: 0 additions & 50 deletions
This file was deleted.

Namf_EventExposure/api_individual_subscription_document.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ package Namf_EventExposure
1212
import (
1313
"context"
1414
"fmt"
15-
"github.com/free5gc/openapi"
16-
"github.com/free5gc/openapi/models"
1715
"io/ioutil"
1816
"net/http"
1917
"net/url"
2018
"strings"
19+
20+
"github.com/free5gc/openapi"
21+
"github.com/free5gc/openapi/models"
2122
)
2223

2324
// Linger please

0 commit comments

Comments
 (0)