Experimental browser for the Atmosphere
{ "uri": "at://did:plc:hwevmowznbiukdf6uk5dwrrq/sh.tangled.repo.pull/3lmzwfaclcn22", "cid": "bafyreiditbtdrxh5g4zm64qd2r6ejzcgjdtpe55nxtpzbjhg6toiona7yq", "value": { "$type": "sh.tangled.repo.pull", "patch": "From 000e075c4aa915f831fc574c4b8746d7bb2fb3b3 Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Thu, 17 Apr 2025 23:15:56 +0300\nSubject: [PATCH 1/2] add a lot of comments\n\n---\n main.go | 9 +++++++++\n 1 file changed, 9 insertions(+)\n\ndiff --git a/main.go b/main.go\nindex 9868fbc..f3193f5 100644\n--- a/main.go\n+++ b/main.go\n@@ -13,3 +13,12 @@ func main() {\n \t// This is a simple Go program that adds two numbers and prints the result\n \tprintln(add(3, 4))\n }\n+\n+// This is a simple Go program that subtracts two numbers and prints the result\n+// It uses a generic function to handle both int and float64 types\n+// The add function takes two parameters of the same type and returns their sum\n+// The subtract function takes two parameters of the same type and returns their difference\n+// The main function calls the add function with two integers and prints the result\n+// The subtract function is not called in the main function, but it can be used in a similar way\n+// The program demonstrates the use of generics in Go, which allows for more flexible and reusable code\n+// Generics were introduced in Go 1.18, and they allow developers to write functions and data structures that can work with any data types\n-- \n2.48.1\n\n\nFrom ae55fb6b0a0b8966bcfec6d19309bc61245d49f8 Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Thu, 17 Apr 2025 23:16:28 +0300\nSubject: [PATCH 2/2] test file\n\n---\n test.go | 12 ++++++++++++\n 1 file changed, 12 insertions(+)\n create mode 100644 test.go\n\ndiff --git a/test.go b/test.go\nnew file mode 100644\nindex 0000000..babae75\n--- /dev/null\n+++ b/test.go\n@@ -0,0 +1,12 @@\n+package main_test\n+\n+func lol() {\n+\t// This is a comment\n+\t_ = 1\n+\t// This is a comment\n+\t_ = 2\n+\t// This is a comment\n+\t_ = 3\n+\t// This is a comment\n+\t_ = 4\n+}\n-- \n2.48.1\n\n", "title": "add a lot of comments", "pullId": 13, "targetRepo": "at://did:plc:hwevmowznbiukdf6uk5dwrrq/sh.tangled.repo/3llmbkfueu522", "targetBranch": "main" } }