{"id":37225558,"url":"https://github.com/golangsam/anytype","last_synced_at":"2026-01-15T01:47:52.515Z","repository":{"id":57613032,"uuid":"96967701","full_name":"GoLangsam/AnyType","owner":"GoLangsam","description":"Templates, and ready-to-use go lang source files - generated with dotgo","archived":false,"fork":false,"pushed_at":"2019-06-20T11:14:10.000Z","size":2363,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-13T18:38:33.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoLangsam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-12T05:11:52.000Z","updated_at":"2021-07-31T16:43:33.000Z","dependencies_parsed_at":"2022-09-03T08:32:52.682Z","dependency_job_id":null,"html_url":"https://github.com/GoLangsam/AnyType","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GoLangsam/AnyType","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoLangsam%2FAnyType","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoLangsam%2FAnyType/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoLangsam%2FAnyType/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoLangsam%2FAnyType/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoLangsam","download_url":"https://codeload.github.com/GoLangsam/AnyType/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoLangsam%2FAnyType/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-15T01:47:51.938Z","updated_at":"2026-01-15T01:47:52.499Z","avatar_url":"https://github.com/GoLangsam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AnyType\n\n**Important:** This repo is retired! The new repo [`github.com/GoLangsam/pile`](https://github.com/GoLangsam/pile) provides better and more functionality.\n\n```\n    go get -u github.com/GoLangsam/pipe\n```\n\nNote: This repo will be removed one day. For now it remains as a test case for the agnostic generator.\n\n---\n\nTemplates, and ready-to-use go lang source files - generated with dotgo.\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Go Report Card](https://goreportcard.com/badge/github.com/GoLangsam/AnyType)](https://goreportcard.com/report/github.com/GoLangsam/AnyType)\n[![Build Status](https://travis-ci.org/GoLangsam/AnyType.svg?branch=master)](https://travis-ci.org/GoLangsam/AnyType)\n[![GoDoc](https://godoc.org/github.com/GoLangsam/AnyType?status.svg)](https://godoc.org/github.com/GoLangsam/AnyType)\n\n**Important:** This repo is not intended to be cloned (or `go get`) - it will just clobber Your disk.\n\nJust focus on what's useful to You - and better: learn how to generate :-)\n\nHint: Before You shame or blame me for something: I might do so myself already! So, peek [here](ShameOnMe.md) before You waste Your precious time \u0026 energy.\n\n## Subjects\nThis repo provides it's subjects (projects) in it's immediate subdirectories:\n\n-  [chan](chan/ReadMe.md) - Gain concurrency - use go-channels for piping (and more)\n-  [pile](pile/ReadMe.md) - A concurrency-safe growing-only first-in-first-out (FIFO) cached collection of things - with a simple (single-thread) iterator\n-  ... more to come soon\n\n## Directories\nEach directory has many subdirectories.\n\nMost contain 'target directories' for the generation and thus become ready-to-use go packages, accessed e.g. via\n\n\t  go get github.com/GoLangsam/AnyType/chan/sss/test\n\nor\n\n\t  go get github.com/GoLangsam/AnyType/chan/sss/standard/io\n\n## Documentation\nYou'll find many `*.md` files - such as this one.\n\nThey may help to understand how these simple, selfcontained and ready-to-use go packages came into existence.\n\nHint: The sources in the packages are documented - You may use `go doc`.\n\nThe `*.md` documenation is mostly *meta* and may give better background for underlying desing principles and concepts.\n\nHappy reading :-)\n\nMind You: *Simplicity is complicated* :-)\n\n## Templates\nYou'll find templates such as\n\n- `dot.go.tmpl` - in target directories\n- `*.dot.go.tmpl` - in subject directories\n- other `*.tmpl` - all the way down into sub-subject directories\n\n##### `dot.go.tmpl` - in target directories\n- Required to exist in any target directory\n  (otherwise, dotgo would not write output; a security measure)\n- Defines context for a target directory - we keep data close to results.\n  \n##### `*.dot.go.tmpl` - in subject directories\n- Defines files (and their basename) to be generated into some target directory.\n\n##### other `*.tmpl - all the way down into sub-subject directories\n- Define further portions / subtemplates. \n\nHint: Especially `*{{.}}*.tmpl` are usually just simple go code sniplets.\n\n**They** are the meat here, where the **architecture** are the bones.\n\n## Source files\n\nWell, it's about [go](http://golang.org). So we have \n\n### `*.go` - ready-to-use compilable packages\n\nIt started as a proof-of-concept, and grows into a ready-to-use collection which directly extends the standard package, and even beyond.\n\n### `*.ugo` - **ugly** go souces\n\nResults generated from the templates - still **ugly**, before the pass thru `gofmt`.\n\nYou may ignore them, or `diff` them agains their `*.go` twin in order to see the templates and sniplets to be well formated.\n\n---\nHint:\n- If You like it: ***smile***.\n- If You don't: ***smile anyway*** - You'll be (a little more) happy - may be.\n\nMind You: the work done here is for You!.  \nFor You - to be a ***Happy*** Gopher!  \n\nSo: be a ***Happy*** Gopher!\n\n---\nYour suggestions, remarks, questions and/or contributions are welcome ;-)\n\n---\n## Think deep - code happy - be simple - see clear :-)\n\n---\n## Support on Beerpay\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/GoLangsam/AnyType/badge.svg?style=beer-square)](https://beerpay.io/GoLangsam/AnyType)  [![Beerpay](https://beerpay.io/GoLangsam/AnyType/make-wish.svg?style=flat-square)](https://beerpay.io/GoLangsam/AnyType?focus=wish)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangsam%2Fanytype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgolangsam%2Fanytype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgolangsam%2Fanytype/lists"}