mirror of
https://github.com/fumiama/dnskip.git
synced 2026-06-05 00:32:41 +08:00
doc: add build instruction
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
.DS_Dtore
|
.DS_Dtore
|
||||||
|
dnskip
|
||||||
|
|||||||
@@ -2,6 +2,13 @@
|
|||||||
A simple Golang DoT proxy using TRS.
|
A simple Golang DoT proxy using TRS.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
### Run
|
||||||
```bash
|
```bash
|
||||||
go run -ldflags "-checklinkname=0" main.go
|
go run -ldflags "-checklinkname=0" main.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Build
|
||||||
|
```bash
|
||||||
|
go build -ldflags "-s -w -checklinkname=0" -trimpath -o dnskip main.go
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user