Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Apr 12, 2022
0 parents commit cbe51ea
Show file tree
Hide file tree
Showing 14 changed files with 1,034 additions and 0 deletions.
Empty file added .dockerignore
Empty file.
488 changes: 488 additions & 0 deletions .golangci.yml

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"heading-increment": false,
"first-header-h1": true,
"header-style": {
"style": "atx"
},
"ul-style": {
"style": "asterisk"
},
"list-indent": true,
"ul-start-left": true,
"ul-indent": {
"indent": 4
},
"no-trailing-spaces": {
"br_spaces": 2,
"list_item_empty_lines": false
},
"single-trailing-newline": true,
"no-hard-tabs": {
"code_blocks": false
},
"no-reversed-links": true,
"no-multiple-blanks": {
"maximum": 1
},
"line-length": {
"line_length": 10000,
"code_blocks": false,
"tables": false
},
"commands-show-output": false,
"no-missing-space-atx": true,
"no-multiple-space-atx": true,
"blanks-around-headers": {
"lines_above": 1,
"lines_below": 1
},
"header-start-left": true,
"no-duplicate-header": {
"allow_different_nesting": true
},
"single-h1": {
"level": 1
},
"no-trailing-punctuation": {
"punctuation": ".,;:"
},
"no-multiple-space-blockquote": true,
"no-blanks-blockquote": true,
"ol-prefix": {
"style": "one"
},
"list-marker-space": {
"ul_single": 1,
"ol_single": 1,
"ul_multi": 1,
"ol_multi": 1
},
"blanks-around-fences": {
"list_items": true
},
"blanks-around-lists": true,
"no-inline-html": {
"allowed_elements": [
"a",
"b",
"br",
"code",
"details",
"div",
"img",
"li",
"nobr",
"p",
"pre",
"summary",
"ul"
]
},
"no-bare-urls": true,
"hr-style": {
"style": "consistent"
},
"no-emphasis-as-header": true,
"no-space-in-emphasis": false,
"no-space-in-code": false,
"no-space-in-links": true,
"fenced-code-language": true,
"code-block-style": {
"style": "fenced"
},
"first-line-h1": false,
"no-empty-links": true,
"proper-names": {
"names": [
"Bash",
"Docker",
"Dockerfile",
"EditorConfig",
"Git",
"GitHub",
"Golang",
"JavaScript",
"macOS",
"Node",
"Node.js",
"npm",
"PHP"
],
"code_blocks": false
}
}
53 changes: 53 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"aleksandra.go-group-imports",
"amazonwebservices.aws-toolkit-vscode",
"annsk.alignment",
"bierner.markdown-preview-github-styles",
"bin3377.iam-policy",
"christian-kohler.path-intellisense",
"cmacu.gotoanything",
"codezombiech.gitignore",
"darkriszty.markdown-table-prettify",
"davidanson.vscode-markdownlint",
"deerawan.vscode-dash",
"donjayamanne.githistory",
"eamodio.gitlens",
"editorconfig.editorconfig",
"fcrespo82.markdown-table-formatter",
"foxundermoon.shell-format",
"golang.go",
"gruntfuggly.todo-tree",
"gurumukhi.selected-lines-count",
"hashicorp.terraform",
"hcltechnologies.hclappscancodesweep",
"jfrog.jfrog-vscode-extension",
"lamartire.git-indicators",
"mads-hartmann.bash-ide-vscode",
"mohsen1.prettify-json",
"ms-python.python",
"ms-python.vscode-pylance",
"msyrus.go-doc",
"neverik.go-critic",
"quicktype.quicktype",
"rogalmic.bash-debug",
"sonarsource.sonarlint-vscode",
"steefh.terraform-documentation-links",
"stkb.rewrap",
"timonwong.shellcheck",
"tyriar.sort-lines",
"usernamehw.errorlens",
"visualstudioexptteam.vscodeintellicode",
"yzhang.markdown-all-in-one",
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
"googlecloudtools.cloudcode",
"mindaro.mindaro",
"ms-azuretools.vscode-azureterraform",
"ms-kubernetes-tools.vscode-kubernetes-tools",
]
}
61 changes: 61 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"alignment.chars": {
":": {
"spaceBefore": 0,
"spaceAfter": 1
},
"::": {
"spaceBefore": 0,
"spaceAfter": 0
},
"=": {
"spaceBefore": 1,
"spaceAfter": 1
},
"===": {
"spaceBefore": 1,
"spaceAfter": 1
},
"==": {
"spaceBefore": 1,
"spaceAfter": 1
},
"=>": {
"spaceBefore": 1,
"spaceAfter": 1
},
"+=": {
"spaceBefore": 1,
"spaceAfter": 1
},
"-=": {
"spaceBefore": 1,
"spaceAfter": 1
},
"*=": {
"spaceBefore": 1,
"spaceAfter": 1
},
"/=": {
"spaceBefore": 1,
"spaceAfter": 1
}
},
"diffEditor.codeLens": true,
"files.autoSave": "onWindowChange",
"files.defaultLanguage": "${activeEditorLanguage}",
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"problems.showCurrentInStatus": true,
"python.formatting.provider": "yapf",
"search.showLineNumbers": true,
"search.useGlobalIgnoreFiles": true,
"[terraform]": {
"editor.formatOnSave": true
},
"terraform-ls.experimentalFeatures": {
"validateOnSave": true
}
}
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:1-alpine

RUN apk add --no-cache make nodejs wget

RUN mkdir -p /workspace
COPY go.mod /workspace
COPY go.sum /workspace
COPY main.go /workspace
COPY Makefile /workspace

WORKDIR /workspace

ENTRYPOINT ["make", "build"]
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# MIT License

Copyright 2022 Ryan Parman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit cbe51ea

Please sign in to comment.