Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Mira
hey mates 👋 so i've been working on a site where anyone can learn and reference Golang materials. Here's the site link: https://gopher-notes.netlify.app/ Gopher Notes is an archive of Go notes from different resources. I reviewed and edited each part so…
i was thinking of relearning Go and was checking out my site i built a year or sum ago. also, peeps were using it too. so i fixed some deployment issues today and pushed the changes. plus, added some feats
- progress tracking for each topic
- you can add your own notes within topics
- revamped and new exercises
site:
- https://gopher-notes.netlify.app
repo:
- https://github.com/AmanuelCh/gopher-notes
- progress tracking for each topic
- you can add your own notes within topics
- revamped and new exercises
site:
- https://gopher-notes.netlify.app
repo:
- https://github.com/AmanuelCh/gopher-notes
🔥14
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15😍2
apparently, haters won't wait for you till you reach your prime these days. lock in twin
❤17😁7💯6
so i was just using a simple API utility helper in my projects when i need
feats:
- Unified API wrapper: A single, strongly-typed interface for all HTTP methods (GET, POST, PUT, PATCH, DELETE, or your provided method). so no more repetitive fetch boilerplate.
- Type-safe requests and responses: uses TypeScript generics to ensure compile-time safety for both request bodies and responses.
- Structured error handling: Provides a custom
- Flexible content-type: Defaults to application/json but allows overrides for any content-type. Works with Blob, FormData, ArrayBuffer, and strings.
- Query parameter support: Accepts a query object and automatically serializes it into a URL query string.
- Base URL support: Easily prepend a base URL to relative endpoints to avoid repeating paths.
- Timeout support: Abort requests automatically using a timeoutMs option.
it's like 168 lines of code. so you can just copy and put it in some file.
repo:
- https://github.com/AmanuelCh/rest-fetch
#MyProjects #rest_fetch
fetch requests, and thought it'd be helpful if i enhance it and let others use it too. so if you have a usecase for it or not using tanstack, check it outfeats:
- Unified API wrapper: A single, strongly-typed interface for all HTTP methods (GET, POST, PUT, PATCH, DELETE, or your provided method). so no more repetitive fetch boilerplate.
- Type-safe requests and responses: uses TypeScript generics to ensure compile-time safety for both request bodies and responses.
- Structured error handling: Provides a custom
ApiError with message, status, code, and optional details for consistent error management.- Flexible content-type: Defaults to application/json but allows overrides for any content-type. Works with Blob, FormData, ArrayBuffer, and strings.
- Query parameter support: Accepts a query object and automatically serializes it into a URL query string.
- Base URL support: Easily prepend a base URL to relative endpoints to avoid repeating paths.
- Timeout support: Abort requests automatically using a timeoutMs option.
it's like 168 lines of code. so you can just copy and put it in some file.
repo:
- https://github.com/AmanuelCh/rest-fetch
#MyProjects #rest_fetch
❤8🔥1
Mira
so i was just using a simple API utility helper in my projects when i need fetch requests, and thought it'd be helpful if i enhance it and let others use it too. so if you have a usecase for it or not using tanstack, check it out feats: - Unified API wrapper:…
A little copying is better than a little dependency.
⚡5
i'll either steal my bro's car this year or die trying. done with the taxis 😭
Please open Telegram to view this post
VIEW IN TELEGRAM
😁22😢1
This media is not supported in your browser
VIEW IN TELEGRAM
taking pics at 3am 💐
Please open Telegram to view this post
VIEW IN TELEGRAM
❤9🔥5⚡1
brain decides to sleep.
also brain: your_top_10_cannon_events (deluxe edition).mp4
we need to chill tf out bro😭
also brain: your_top_10_cannon_events (deluxe edition).mp4
we need to chill tf out bro
Please open Telegram to view this post
VIEW IN TELEGRAM
😭8😁3