Skip to content

Commit 76ab968

Browse files
committed
feat: golang project init
1 parent a88a52d commit 76ab968

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed

go-algorithm/.gitignore

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
### Go template
2+
# If you prefer the allow list template instead of the deny list, see community template:
3+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
4+
#
5+
# Binaries for programs and plugins
6+
*.exe
7+
*.exe~
8+
*.dll
9+
*.so
10+
*.dylib
11+
12+
# Test binary, built with `go test -c`
13+
*.test
14+
15+
# Output of the go coverage tool, specifically when used with LiteIDE
16+
*.out
17+
18+
# Dependency directories (remove the comment below to include it)
19+
# vendor/
20+
21+
# Go workspace file
22+
go.work
23+
24+
### VisualStudioCode template
25+
.vscode/*
26+
!.vscode/settings.json
27+
!.vscode/tasks.json
28+
!.vscode/launch.json
29+
!.vscode/extensions.json
30+
!.vscode/*.code-snippets
31+
32+
# Local History for Visual Studio Code
33+
.history/
34+
35+
# Built Visual Studio Code Extensions
36+
*.vsix
37+
38+
### JetBrains template
39+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
40+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
41+
42+
# User-specific stuff
43+
.idea/**/workspace.xml
44+
.idea/**/tasks.xml
45+
.idea/**/usage.statistics.xml
46+
.idea/**/dictionaries
47+
.idea/**/shelf
48+
49+
# AWS User-specific
50+
.idea/**/aws.xml
51+
52+
# Generated files
53+
.idea/**/contentModel.xml
54+
55+
# Sensitive or high-churn files
56+
.idea/**/dataSources/
57+
.idea/**/dataSources.ids
58+
.idea/**/dataSources.local.xml
59+
.idea/**/sqlDataSources.xml
60+
.idea/**/dynamic.xml
61+
.idea/**/uiDesigner.xml
62+
.idea/**/dbnavigator.xml
63+
64+
# Gradle
65+
.idea/**/gradle.xml
66+
.idea/**/libraries
67+
68+
# Gradle and Maven with auto-import
69+
# When using Gradle or Maven with auto-import, you should exclude module files,
70+
# since they will be recreated, and may cause churn. Uncomment if using
71+
# auto-import.
72+
# .idea/artifacts
73+
# .idea/compiler.xml
74+
# .idea/jarRepositories.xml
75+
# .idea/modules.xml
76+
# .idea/*.iml
77+
# .idea/modules
78+
# *.iml
79+
# *.ipr
80+
81+
# CMake
82+
cmake-build-*/
83+
84+
# Mongo Explorer plugin
85+
.idea/**/mongoSettings.xml
86+
87+
# File-based project format
88+
*.iws
89+
90+
# IntelliJ
91+
out/
92+
93+
# mpeltonen/sbt-idea plugin
94+
.idea_modules/
95+
96+
# JIRA plugin
97+
atlassian-ide-plugin.xml
98+
99+
# Cursive Clojure plugin
100+
.idea/replstate.xml
101+
102+
# SonarLint plugin
103+
.idea/sonarlint/
104+
105+
# Crashlytics plugin (for Android Studio and IntelliJ)
106+
com_crashlytics_export_strings.xml
107+
crashlytics.properties
108+
crashlytics-build.properties
109+
fabric.properties
110+
111+
# Editor-based Rest Client
112+
.idea/httpRequests
113+
114+
# Android studio 3.1+ serialized cache file
115+
.idea/caches/build_file_checksums.ser
116+
117+
### Others
118+
.idea/
119+
.vscode/
120+
README_link.md

go-algorithm/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module go-algorithm
2+
3+
go 1.22.4

0 commit comments

Comments
 (0)