Skip to content

Commit c5056b9

Browse files
authored
Merge pull request #2 from ddosify/add-faker
Add faker
2 parents 7d72621 + 6230e6d commit c5056b9

File tree

9 files changed

+1344
-1
lines changed

9 files changed

+1344
-1
lines changed

.dockerignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist/
2+
*.yml
3+
*.out
4+
Jenkinsfile
5+
README.md
6+
.*

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@
1313

1414
# Dependency directories (remove the comment below to include it)
1515
# vendor/
16+
17+
__debug*
18+
coverage.html
19+
main
20+
21+
.devcontainer/
22+
dist/
23+
ddosify
24+
.vscode
25+

Dockerfile.dev

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM golang:1.18.1
2+
3+
RUN apt update && apt install -y git gcc musl-dev curl iputils-ping telnet graphviz && rm -rf /var/lib/apt/lists/*
4+
5+
ENV GOPATH /go
6+
ENV GOBIN /go/bin
7+
8+
WORKDIR /workspace
9+
10+
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
11+
12+
RUN go install -v golang.org/x/tools/gopls@v0.8.3
13+
RUN go install -v github.com/rogpeppe/godef@v1.1.2
14+
RUN go install -v github.com/rakyll/gotest@v0.0.6
15+
RUN go install -v github.com/ramya-rao-a/go-outline@1.0.0
16+
RUN go install -v github.com/go-delve/delve/cmd/dlv@v1.8.1
17+
18+
COPY go.mod ./
19+
COPY go.sum ./
20+
RUN go mod download
21+
22+
# Aliases
23+
RUN echo "alias ll='ls -alF'" >> /etc/bash.bashrc

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Ddosify
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 220 additions & 1 deletion
Large diffs are not rendered by default.

faker/constants.go

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)