Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

Commit 317c7e4

Browse files
author
wantao
committed
Merge branch 'go-micro-main'
2 parents 0821d07 + 13f6050 commit 317c7e4

25 files changed

+119
-279
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
2626
- name: Set up Go
2727
if: steps.changes.outputs.backend == 'true'
28-
uses: actions/setup-go@v3
28+
uses: actions/setup-go@v4
2929
with:
30-
go-version: 1.18
30+
go-version: '1.20'
3131

3232
- name: Test Backend
3333
if: steps.changes.outputs.backend == 'true'

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN npm install -g @angular/cli && \
88
npm install && \
99
npm run build
1010

11-
FROM golang:1.18 as backend-builder
11+
FROM golang:1.20 as backend-builder
1212

1313
WORKDIR /micro
1414

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "time"
44

55
const (
66
Name = "go.micro.dashboard"
7-
Version = "1.4.3"
7+
Version = "1.4.5"
88
)
99

1010
const (

frontend/src/app/layout/passport/passport.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
<div class="top">
44
<div class="head">
55
<img class="logo" src="./assets/logo-color.png" />
6-
<p class="title">Go Micro Dashboard</p>
76
</div>
87
</div>
98
<router-outlet></router-outlet>
109
<global-footer>
11-
<a href="https://github.com/xpunch" target="_blank">X Punch</a>
10+
<a href="https://github.com/go-micro/dashboard" target="_blank">Github</a>
1211
<p>{{ version }}</p>
1312
</global-footer>
1413
</div>

frontend/src/app/layout/passport/passport.component.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
height: 96px;
5555
margin-top: 64px;
5656
margin-right: 16px;
57-
margin-bottom: 16px;
57+
margin-bottom: 64px;
5858
}
5959
.title {
6060
position: relative;

frontend/src/assets/logo-color.png

-36.1 KB
Loading

frontend/src/assets/logo-full.png

-29.8 KB
Loading

frontend/src/assets/logo.png

1005 Bytes
Loading

frontend/src/styles/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* You can add global styles to this file, and also import other style files */
22
.alain-default__header-logo-expanded{
3-
max-height: 48px;
3+
max-height: 80px;
44
}
55

66
.alain-default__header-logo-collapsed{

go.mod

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
module github.com/go-micro/dashboard
22

3-
go 1.18
3+
go 1.20
44

55
require (
6-
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
76
github.com/dgrijalva/jwt-go v3.2.0+incompatible
87
github.com/gin-gonic/gin v1.8.1
98
github.com/go-micro/plugins/v4/broker/kafka v1.2.0
@@ -27,32 +26,28 @@ require (
2726
github.com/go-micro/plugins/v4/registry/zookeeper v1.2.0
2827
github.com/go-micro/plugins/v4/server/http v1.2.0
2928
github.com/go-micro/plugins/v4/transport/grpc v1.2.0
30-
github.com/go-micro/plugins/v4/transport/nats v1.2.0
31-
github.com/go-micro/plugins/v4/transport/quic v1.1.0
32-
github.com/go-micro/plugins/v4/transport/rabbitmq v1.1.0
33-
github.com/go-micro/plugins/v4/transport/tcp v1.1.0
34-
github.com/go-micro/plugins/v4/transport/utp v1.1.0
3529
github.com/pkg/errors v0.9.1
3630
github.com/swaggo/files v0.0.0-20220728132757-551d4a08d97a
3731
github.com/swaggo/gin-swagger v1.5.3
3832
github.com/swaggo/swag v1.8.8
39-
go-micro.dev/v4 v4.9.0
40-
golang.org/x/net v0.2.0
33+
go-micro.dev/v4 v4.10.0
34+
golang.org/x/net v0.8.0
4135
)
4236

4337
require (
4438
github.com/BurntSushi/toml v1.2.1 // indirect
4539
github.com/KyleBanks/depth v1.2.1 // indirect
4640
github.com/Microsoft/go-winio v0.6.0 // indirect
4741
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
48-
github.com/Shopify/sarama v1.37.2 // indirect
42+
github.com/Shopify/sarama v1.30.1 // indirect
4943
github.com/acomagu/bufpipe v1.0.3 // indirect
5044
github.com/aliyun/alibaba-cloud-sdk-go v1.62.68 // indirect
5145
github.com/armon/go-metrics v0.4.1 // indirect
5246
github.com/beorn7/perks v1.0.1 // indirect
5347
github.com/bitly/go-simplejson v0.5.0 // indirect
48+
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
5449
github.com/buger/jsonparser v1.1.1 // indirect
55-
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
50+
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
5651
github.com/cespare/xxhash/v2 v2.2.0 // indirect
5752
github.com/clbanning/mxj v1.8.4 // indirect
5853
github.com/cloudflare/circl v1.3.0 // indirect
@@ -147,7 +142,7 @@ require (
147142
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
148143
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
149144
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
150-
github.com/pierrec/lz4/v4 v4.1.17 // indirect
145+
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
151146
github.com/pjbgf/sha1cd v0.2.3 // indirect
152147
github.com/prometheus/client_golang v1.14.0 // indirect
153148
github.com/prometheus/client_model v0.3.0 // indirect
@@ -167,19 +162,19 @@ require (
167162
go.etcd.io/etcd/client/pkg/v3 v3.5.6 // indirect
168163
go.etcd.io/etcd/client/v3 v3.5.6 // indirect
169164
go.uber.org/atomic v1.10.0 // indirect
170-
go.uber.org/multierr v1.8.0 // indirect
171-
go.uber.org/zap v1.24.0 // indirect
165+
go.uber.org/multierr v1.6.0 // indirect
166+
go.uber.org/zap v1.21.0 // indirect
172167
golang.org/x/crypto v0.3.0 // indirect
173-
golang.org/x/mod v0.7.0 // indirect
174-
golang.org/x/oauth2 v0.2.0 // indirect
168+
golang.org/x/mod v0.9.0 // indirect
169+
golang.org/x/oauth2 v0.4.0 // indirect
175170
golang.org/x/sync v0.1.0 // indirect
176-
golang.org/x/sys v0.2.0 // indirect
177-
golang.org/x/text v0.4.0 // indirect
178-
golang.org/x/time v0.2.0 // indirect
179-
golang.org/x/tools v0.3.0 // indirect
171+
golang.org/x/sys v0.6.0 // indirect
172+
golang.org/x/text v0.8.0 // indirect
173+
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
174+
golang.org/x/tools v0.7.0 // indirect
180175
google.golang.org/appengine v1.6.7 // indirect
181-
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd // indirect
182-
google.golang.org/grpc v1.51.0 // indirect
176+
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
177+
google.golang.org/grpc v1.53.0 // indirect
183178
google.golang.org/protobuf v1.28.1 // indirect
184179
gopkg.in/gcfg.v1 v1.2.3 // indirect
185180
gopkg.in/ini.v1 v1.67.0 // indirect

0 commit comments

Comments
 (0)