1
0
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:
源文雨
2025-10-03 16:58:37 +08:00
parent 094bfc6456
commit f7f2ef3663
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
.DS_Dtore
dnskip

View File

@@ -2,6 +2,13 @@
A simple Golang DoT proxy using TRS.
## Usage
### Run
```bash
go run -ldflags "-checklinkname=0" main.go
```
### Build
```bash
go build -ldflags "-s -w -checklinkname=0" -trimpath -o dnskip main.go
```