Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
sidecar
Commits
23e599af
Commit
23e599af
authored
Sep 16, 2021
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update makefile
parent
27e44da6
Pipeline
#8005
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Makefile
Makefile
+4
-0
did.go
cmd/sidecar/did.go
+4
-3
No files found.
Makefile
View file @
23e599af
...
...
@@ -120,6 +120,8 @@ fmt_go: fmt_shell ## go fmt
fmt
:
fmt_proto fmt_shell
##
go fmt
@
go
fmt
./...
@
find
.
-name
'*.go'
-not
-path
"./vendor/*"
| xargs goimports
-l
-w
@
gofumpt
-l
-w
.
all
:
pb grpc
...
...
@@ -158,6 +160,8 @@ build-dep:
@
go
install
mvdan.cc/gofumpt@latest
@
go
install
mvdan.cc/sh/v3/cmd/shfmt@latest
@
go
install
mvdan.cc/sh/v3/cmd/gosh@latest
@
go
install
mvdan.cc/unparam@latest
# @apt install clang-format or brew isntall clang-format
# @apt install shellcheck or brew install shellcheck
...
...
cmd/sidecar/did.go
View file @
23e599af
...
...
@@ -5,13 +5,14 @@ import (
"fmt"
"io/ioutil"
rpcx
"github.com/link33/sidecar/hub/client"
"github.com/link33/sidecar/internal/repo"
"github.com/link33/sidecar/model/constant"
"github.com/meshplus/bitxhub-kit/crypto/asym"
"github.com/meshplus/bitxhub-kit/types"
"github.com/meshplus/bitxid"
"github.com/urfave/cli"
rpcx
"github.com/link33/sidecar/hub/client"
"github.com/link33/sidecar/internal/repo"
"github.com/link33/sidecar/model/constant"
)
const
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment