From 60090f7da96844252f12fa869378afe1c4a7fc91 Mon Sep 17 00:00:00 2001
From: Jonas
Date: Wed, 1 May 2024 20:42:17 +0100
Subject: [PATCH 1/2] Better gitignore
---
.gitignore | 61 +++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 56 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
index 588388b..cfa0915 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,58 @@
+## Special files
+_*
+.*
+*~
+*.lock
+
+!.gitignore
+
+## Compiled source
+_obj/
+_test/
+target/
+
+[568vq].out
+*.[568vq]
+
+*.[ao]
+*.dll
+*.so
+
+*.cgo?.*
+*.exe
+*.prof
+*.test
+
+_testmain.go
+go.sum
+
+## Packages
+# It's better to unpack these files and commit the raw source.
+*.7z
+*.dmg
+*.gz
+*.iso
+*.jar
+*.rar
+*.tar
+*.zip
+
+## Data
+*.bin
+Icon?
+
+## Logs and databases
+*.db
+*.log
+*.sqlite
+#*.sql
+
+## Projects
+
+*.sublime-project
+*.sublime-workspace
+
+## * * *
+
testdata/conf_out.ini
-ini.sublime-project
-ini.sublime-workspace
testdata/conf_reflect.ini
-.idea
-/.vscode
-.DS_Store
From 08a95542951b07566d9579e4d298fa82a69582ec Mon Sep 17 00:00:00 2001
From: Jonas
Date: Wed, 1 May 2024 20:48:44 +0100
Subject: [PATCH 2/2] Add go.mod
---
go.mod | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 go.mod
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..68263f6
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,11 @@
+module github.com/go-ini/ini
+
+go 1.22.0
+
+require github.com/stretchr/testify v1.9.0
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)