From b42c63532f11f5312ae345d1d59eee06435e4291 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Fri, 14 Nov 2025 07:08:39 -0600 Subject: [PATCH] chore: initial commit --- .gitignore | 14 ++++++++++++++ LICENSE.md | 21 +++++++++++++++++++++ README.md | 4 ++++ cmd/web/main.go | 7 +++++++ go.mod | 3 +++ static/style.css | 0 templates/index.gohtml | 0 7 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 cmd/web/main.go create mode 100644 go.mod create mode 100644 static/style.css create mode 100644 templates/index.gohtml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f45732e --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.exe +*.exe~ +*.dll +*.so +*.dylib +*.test +*.out +coverage.* +*.coverprofile +profile.cov +go.work +go.work.sum +.env + diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..a2b2126 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +# The MIT License (MIT) + +Copyright (c) 2025 Stevan Freeborn + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..42269dd --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# links.stevanfreeborn.com + +This is a site inspired by things like Linktree, but built as a project to learn more about web development in Go. + diff --git a/cmd/web/main.go b/cmd/web/main.go new file mode 100644 index 0000000..a3dd973 --- /dev/null +++ b/cmd/web/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello, World!") +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..4d58ae7 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/StevanFreeborn/links.stevanfreeborn.com + +go 1.25.3 diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..e69de29 diff --git a/templates/index.gohtml b/templates/index.gohtml new file mode 100644 index 0000000..e69de29