ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

At a first glance using `any` aka. an empty interface{} in #golang seems quite powerful cuz it provides flexibility (just like Python) but since Go is a strongly typed language, trying to to work around it is considered unidiomatic.

Jan 23, 2025, 6:09 AM

Record data

{
  "uri": "at://did:plc:ngpi4ahujcb7mbr4336upn4n/app.bsky.feed.post/3lgf7tr4lrs2m",
  "cid": "bafyreicspxzlbvdaaccllugtppj2n4mc4mhrflq3jawjfsbcppn53p5dte",
  "value": {
    "text": "At a first glance using `any` aka. an empty interface{} in #golang seems quite powerful cuz it provides flexibility (just like Python) but since Go is a strongly typed language, trying to to work around it is considered unidiomatic.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 66,
          "byteStart": 59
        },
        "features": [
          {
            "tag": "golang",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      }
    ],
    "createdAt": "2025-01-23T06:09:20.779Z"
  }
}