Initial commit
This commit is contained in:
commit
c7514d60b8
|
@ -0,0 +1,22 @@
|
|||
# documentation https://editorconfig.org/
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
max_line_length = 130
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
tab_width = 2
|
||||
indent_size = 2
|
||||
|
||||
[{*.java,*.js}]
|
||||
indent_size = 4
|
||||
ij_continuation_indent_size = 4
|
||||
|
||||
[{*.xml,*.html}]
|
||||
indent_size = 4
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
|
@ -0,0 +1,28 @@
|
|||
# ---> JetBrains
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/*
|
||||
!**/.gitkeep
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
|
@ -0,0 +1,26 @@
|
|||
linters:
|
||||
enable:
|
||||
- errcheck
|
||||
- errorlint
|
||||
- gocritic
|
||||
- gosec
|
||||
- gosimple
|
||||
- govet
|
||||
- gci
|
||||
- misspell
|
||||
- nonamedreturns
|
||||
- staticcheck
|
||||
- unconvert
|
||||
- unparam
|
||||
- unused
|
||||
- whitespace
|
||||
|
||||
linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard
|
||||
- default
|
||||
- prefix(antoine-roux.tk/projects/go)
|
||||
|
||||
run:
|
||||
timeout: 5m
|
|
@ -0,0 +1 @@
|
|||
"THE BEER-WARE LICENSE" (Revision 42): <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp
|
|
@ -0,0 +1,11 @@
|
|||
.PHONY: build run
|
||||
|
||||
build:
|
||||
go build -o ./out/main cmd/main.go
|
||||
|
||||
run:
|
||||
@chmod +x ./out/main
|
||||
./out/main
|
||||
|
||||
ci:
|
||||
golangci-lint run --fix
|
|
@ -0,0 +1,5 @@
|
|||
# firecracker-netns application
|
||||
|
||||
run firecracker in netns namespace
|
||||
|
||||
documentation [docs](./docs)
|
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello world !")
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
// Package gotemplate is a sample project for bootstrapping golang project.
|
||||
package gotemplate
|
|
@ -0,0 +1,9 @@
|
|||
# documentations
|
||||
|
||||
local :
|
||||
|
||||
linter required
|
||||
|
||||
```shell
|
||||
$ brew install golangci-lint
|
||||
```
|
|
@ -0,0 +1,3 @@
|
|||
module antoine-roux.tk/projects/go/firecracker-netns
|
||||
|
||||
go 1.21.5
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"dependencyDashboard": true
|
||||
}
|
Loading…
Reference in New Issue