File tree Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2023 Blink Labs Software
1
+ // Copyright 2024 Blink Labs Software
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -21,9 +21,9 @@ import (
21
21
22
22
_ "go.uber.org/automaxprocs"
23
23
24
- "github.com/blinklabs-io/tx-submit-api-mirror/api"
25
- "github.com/blinklabs-io/tx-submit-api-mirror/config"
26
- "github.com/blinklabs-io/tx-submit-api-mirror/logging"
24
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ api"
25
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ config"
26
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ logging"
27
27
)
28
28
29
29
var cmdlineFlags struct {
Original file line number Diff line number Diff line change 1
- // Copyright 2023 Blink Labs Software
1
+ // Copyright 2024 Blink Labs Software
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -30,8 +30,8 @@ import (
30
30
ginzap "github.com/gin-contrib/zap"
31
31
"github.com/gin-gonic/gin"
32
32
33
- "github.com/blinklabs-io/tx-submit-api-mirror/config"
34
- "github.com/blinklabs-io/tx-submit-api-mirror/logging"
33
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ config"
34
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ logging"
35
35
)
36
36
37
37
func Start (cfg * config.Config ) error {
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Blink Labs Software
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
package api
2
16
3
17
import (
@@ -6,7 +20,7 @@ import (
6
20
"testing"
7
21
"time"
8
22
9
- "github.com/blinklabs-io/tx-submit-api-mirror/config"
23
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ config"
10
24
)
11
25
12
26
func TestHTTPClientTimeout (t * testing.T ) {
Original file line number Diff line number Diff line change 1
- // Copyright 2023 Blink Labs Software
1
+ // Copyright 2024 Blink Labs Software
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
- // Copyright 2023 Blink Labs Software
1
+ // Copyright 2024 Blink Labs Software
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import (
21
21
"go.uber.org/zap"
22
22
"go.uber.org/zap/zapcore"
23
23
24
- "github.com/blinklabs-io/tx-submit-api-mirror/config"
24
+ "github.com/blinklabs-io/tx-submit-api-mirror/internal/ config"
25
25
)
26
26
27
27
type Logger = zap.SugaredLogger
You can’t perform that action at this time.
0 commit comments