copygen
disgo
copygen | disgo | |
---|---|---|
14 | 25 | |
331 | 86 | |
- | - | |
0.0 | 4.8 | |
about 2 months ago | 9 months ago | |
Go | Go | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
copygen
-
The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them!
Copygen is a type-based code generator for the Go programming language. Copygen allows developers to generate type-to-type copy functions out-of-the-box without reflection (why?), but it can also be used to generate code. As an example, disgo is a performant, secure, and thread-safe Go Discord API Wrapper that uses Copygen with dasgo to achieve feature completion.
-
sqlc patterns in production
An alternative is to use a reflection based struct copier library or a codegen struct copier library
- How Disgo Used Copygen to Generate 10,000 Lines Of Code
-
What is Disgo? An In-Depth Look.
Disgo is the only Go API Wrapper using a maintainable approach to become feature complete. Disgo is the only Go API Wrapper to provide OAuth2 flows. Disgo is the only wrapper to define API definitions (objects, requests, commands) as structs, allowing for usage of the Discord Producer API without requiring knowledge of an additional API Wrapper Consumer API.
- Copygen v0.4 can generate customized code based on types
- Copygen (v0.4) is a code generator that can generate customized code based on types.
-
Contribute to Copygen v0.4 for Reddit Gold
Copygen allows developers to define types, structs, and more in its setup.go file and has no issues copying them to the output; except for comments. The Go AST makes it "very difficult to update the AST and retain correct comment place (from 2017)" and is not likely to change any time soon. As a result, Copygen sometimes generates free-floating comments (i.e multi.go). Copygen's comments are handled in its Parser. Feel free to use any necessary libraries or rewriting of the comment-parsing mechanism to fix this issue.
- copygen: Generate type-to-type and field-to-field struct code without reflection or dependencies.
- Copygen: Type-Based Code Generator
- Copygen is a code generator that can generate ANY function based on types.
disgo
-
disgo (v1.10.1) - Shard Manager for a Discord Bot using Disgo
The disgo Shard Manager is implemented and stable. It works as a drop-in replacement for a single Session. This feature is significant because it allows Bot Developers to implement Discord Sharding effortlessly.
-
The Icculus Microgrant is giving out 250 dollar grants to open source projects, please brag about your project(s) in this thread so I can see them!
Copygen is a type-based code generator for the Go programming language. Copygen allows developers to generate type-to-type copy functions out-of-the-box without reflection (why?), but it can also be used to generate code. As an example, disgo is a performant, secure, and thread-safe Go Discord API Wrapper that uses Copygen with dasgo to achieve feature completion.
- Create a Discord Bot in Go using this Discord API Wrapper. A successor to DiscordGo.
- I created a struct-based Discord API Wrapper in Go
- Disgo - Create a Discord Bot in Go
- Disgo v10: Create a Discord Bot using the most performant Discord API Wrapper in Go
- Disgo v10: Create a Discord Bot using the most performant Discord API Wrapper in Go.
-
Disgo v10: Create a Discord Bot in Go using the most performant feature-complete Discord API Wrapper.
issue 25, issue 24 and issue 23 are almost undeniably taking advantage of githubs issue linking feature to push/advertise your library in other libraries' issue trackers without actually posting there. You dont need me to tell you how incredibly shady and genuinely rude that is. Just dont do that man
- I created a struct-based API Wrapper for Discord Bots
- I created a struct-based Discord API Wrapper for Discord Bots
What are some alternatives?
copier - Copier for golang, copy value from struct to struct and more
discordgo - (Golang) Go bindings for Discord
goverter - Generate type-safe Go converters by simply defining an interface
gocord - A performant self-bot Discord API wrapper for Go.
Package for fast copying structs of different types - Package for fast copying structs of different types
drone-discord - Drone plugin for sending message to Discord channel using Webhook
jennifer - Jennifer is a code generator for Go
mumble-discord-bridge - A simple voice bridge between Mumble and Discord.
go-zero - A cloud-native Go microservices framework with cli tool for productivity.
wp-plugin-leaflet-map - Add leaflet maps to Wordpress with shortcodes
convergen - A type-to-type copy function code generator.
automuteus - Discord Bot to automute Among Us players at round transitions, in conjunction with https://github.com/automuteus/amonguscapture