feat: more data
parent
d2bd053f8f
commit
d650c545ce
|
@ -1022,78 +1022,106 @@ fieldalignment -fix ./internal/business/<span class="pl-k">*</span>.go</pre>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis"
|
<a
|
||||||
rel="nofollow"
|
href="https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis"
|
||||||
>Functional options for friendly APIs</a
|
rel="nofollow"
|
||||||
>
|
>Functional options for friendly APIs</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://abhinavg.net/2022/12/06/designing-go-libraries/"
|
<a
|
||||||
rel="nofollow"
|
href="https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully"
|
||||||
>Designing Go Libraries: The Talk: The Article</a
|
rel="nofollow"
|
||||||
>
|
>Don’t just check errors, handle them gracefully</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/uber-go/guide/blob/master/style.md"
|
<p>
|
||||||
>Uber Go Style Guide</a
|
<a
|
||||||
>
|
href="https://abhinavg.net/2022/12/06/designing-go-libraries/"
|
||||||
|
rel="nofollow"
|
||||||
|
>Designing Go Libraries: The Talk: The Article</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://google.github.io/styleguide/go/index" rel="nofollow"
|
<p>
|
||||||
>Google Go Style</a
|
<a
|
||||||
>
|
href="https://abhinavg.net/2023/09/27/future-proof-packages/"
|
||||||
|
rel="nofollow"
|
||||||
|
>GopherCon 2023: Future-Proof Go Packages</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/"
|
<a href="https://github.com/uber-go/guide/blob/master/style.md"
|
||||||
rel="nofollow"
|
>Uber Go Style Guide</a
|
||||||
>Three bugs in the Go MySQL Driver</a
|
>
|
||||||
>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://mtlynch.io/notes/picoshare-perf/" rel="nofollow"
|
<p>
|
||||||
>Fixing Memory Exhaustion Bugs in My Golang Web App</a
|
<a
|
||||||
>
|
href="https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/"
|
||||||
|
rel="nofollow"
|
||||||
|
>Three bugs in the Go MySQL Driver</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types"
|
<a href="https://mtlynch.io/notes/picoshare-perf/" rel="nofollow"
|
||||||
rel="nofollow"
|
>Fixing Memory Exhaustion Bugs in My Golang Web App</a
|
||||||
>Prevent Logging Secrets in Go by Using Custom Types</a
|
>
|
||||||
>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen"
|
<a
|
||||||
rel="nofollow"
|
href="https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types"
|
||||||
>Speed Up GoMock with Conditional Generation</a
|
rel="nofollow"
|
||||||
>
|
>Prevent Logging Secrets in Go by Using Custom Types</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://turriate.com/articles/making-sqlite-faster-in-go"
|
<a
|
||||||
rel="nofollow"
|
href="https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen"
|
||||||
>Making SQLite faster in Go</a
|
rel="nofollow"
|
||||||
>
|
>Speed Up GoMock with Conditional Generation</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://encore.dev/blog/advanced-go-concurrency" rel="nofollow"
|
<p>
|
||||||
>Advanced Go Concurrency</a
|
<a
|
||||||
>
|
href="https://turriate.com/articles/making-sqlite-faster-in-go"
|
||||||
|
rel="nofollow"
|
||||||
|
>Making SQLite faster in Go</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/"
|
<a
|
||||||
rel="nofollow"
|
href="https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/"
|
||||||
>Go generic: non-ptr to ptr</a
|
rel="nofollow"
|
||||||
>
|
>Go generic: non-ptr to ptr</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://xeiaso.net/blog/gonads-2022-04-24" rel="nofollow"
|
<p>
|
||||||
>Crimes with Go Generics</a
|
<a href="https://xeiaso.net/blog/gonads-2022-04-24" rel="nofollow"
|
||||||
>
|
>Crimes with Go Generics</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -358,61 +358,77 @@
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://use-the-index-luke.com/" rel="nofollow"
|
<p>
|
||||||
>Use The Index, Luke</a
|
<a href="https://use-the-index-luke.com/" rel="nofollow"
|
||||||
>
|
>Use The Index, Luke</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://www.foxhound.systems/blog/essential-elements-of-high-performance-sql-indexes/"
|
<a
|
||||||
rel="nofollow"
|
href="https://kevin.burke.dev/kevin/reddits-database-has-two-tables/"
|
||||||
>Essential elements of high performance applications: SQL indexes</a
|
rel="nofollow"
|
||||||
>
|
>Reddit’s database has two tables</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://architecturenotes.co/things-you-should-know-about-databases/"
|
<a
|
||||||
rel="nofollow"
|
href="https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/"
|
||||||
>Things You Should Know About Databases</a
|
rel="nofollow"
|
||||||
>
|
>My Notes on GitLab Postgres Schema Design</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/"
|
<a
|
||||||
rel="nofollow"
|
href="https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/"
|
||||||
>When to use JSON data type in database schema design?</a
|
rel="nofollow"
|
||||||
>
|
>When to use JSON data type in database schema design?</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/"
|
<a
|
||||||
rel="nofollow"
|
href="https://planetscale.com/blog/how-read-mysql-explains"
|
||||||
>My Notes on GitLab Postgres Schema Design</a
|
rel="nofollow"
|
||||||
>
|
>How to read MySQL EXPLAINs</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://planetscale.com/blog/how-read-mysql-explains"
|
<a
|
||||||
rel="nofollow"
|
href="https://brandur.org/fragments/database-health-check"
|
||||||
>How to read MySQL EXPLAINs</a
|
rel="nofollow"
|
||||||
>
|
>Honest health checks that hit the database</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<p>
|
||||||
href="https://brandur.org/fragments/database-health-check"
|
<a href="https://www.grouparoo.com/blog/varchar-191" rel="nofollow"
|
||||||
rel="nofollow"
|
>Why are database columns 191 characters?</a
|
||||||
>Honest health checks that hit the database</a
|
>
|
||||||
>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.grouparoo.com/blog/varchar-191" rel="nofollow"
|
<p>
|
||||||
>Why are database columns 191 characters?</a
|
<a href="https://stackoverflow.com/a/43056611" rel="nofollow"
|
||||||
>
|
>Store UUID v4 in MySQL</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://stackoverflow.com/a/43056611" rel="nofollow"
|
<p>
|
||||||
>Store UUID v4 in MySQL</a
|
<a href="https://stackoverflow.com/a/4849030" rel="nofollow"
|
||||||
>
|
>Difference between text and varchar (character varying)</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -735,6 +735,11 @@
|
||||||
>https://github.com/sqlfluff/sqlfluff</a
|
>https://github.com/sqlfluff/sqlfluff</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/crate-ci/typos"
|
||||||
|
>https://github.com/crate-ci/typos</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Language server</p>
|
<p>Language server</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -516,14 +516,15 @@ go clean -cache -testcache -modcache -fuzzcache -x
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
- [Functional options for friendly APIs](https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis)
|
- [Functional options for friendly APIs](https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis)
|
||||||
|
- [Don’t just check errors, handle them gracefully](https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully)
|
||||||
- [Designing Go Libraries: The Talk: The Article](https://abhinavg.net/2022/12/06/designing-go-libraries/)
|
- [Designing Go Libraries: The Talk: The Article](https://abhinavg.net/2022/12/06/designing-go-libraries/)
|
||||||
|
- [GopherCon 2023: Future-Proof Go Packages](https://abhinavg.net/2023/09/27/future-proof-packages/)
|
||||||
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
|
- [Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
|
||||||
- [Google Go Style](https://google.github.io/styleguide/go/index)
|
|
||||||
- [Three bugs in the Go MySQL Driver](https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/)
|
- [Three bugs in the Go MySQL Driver](https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver/)
|
||||||
- [Fixing Memory Exhaustion Bugs in My Golang Web App](https://mtlynch.io/notes/picoshare-perf/)
|
- [Fixing Memory Exhaustion Bugs in My Golang Web App](https://mtlynch.io/notes/picoshare-perf/)
|
||||||
- [Prevent Logging Secrets in Go by Using Custom Types](https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types)
|
- [Prevent Logging Secrets in Go by Using Custom Types](https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types)
|
||||||
- [Speed Up GoMock with Conditional Generation](https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen)
|
- [Speed Up GoMock with Conditional Generation](https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen)
|
||||||
- [Making SQLite faster in Go](https://turriate.com/articles/making-sqlite-faster-in-go)
|
- [Making SQLite faster in Go](https://turriate.com/articles/making-sqlite-faster-in-go)
|
||||||
- [Advanced Go Concurrency](https://encore.dev/blog/advanced-go-concurrency)
|
|
||||||
- [Go generic: non-ptr to ptr](https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/)
|
- [Go generic: non-ptr to ptr](https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/)
|
||||||
- [Crimes with Go Generics](https://xeiaso.net/blog/gonads-2022-04-24)
|
- [Crimes with Go Generics](https://xeiaso.net/blog/gonads-2022-04-24)
|
||||||
|
|
|
@ -144,11 +144,13 @@ Use `SELECT 1` to check if database failed yet.
|
||||||
## Thanks
|
## Thanks
|
||||||
|
|
||||||
- [Use The Index, Luke](https://use-the-index-luke.com/)
|
- [Use The Index, Luke](https://use-the-index-luke.com/)
|
||||||
- [Essential elements of high performance applications: SQL indexes](https://www.foxhound.systems/blog/essential-elements-of-high-performance-sql-indexes/)
|
|
||||||
- [Things You Should Know About Databases](https://architecturenotes.co/things-you-should-know-about-databases/)
|
- [Reddit’s database has two tables](https://kevin.burke.dev/kevin/reddits-database-has-two-tables/)
|
||||||
- [When to use JSON data type in database schema design?](https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/)
|
|
||||||
- [My Notes on GitLab Postgres Schema Design](https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/)
|
- [My Notes on GitLab Postgres Schema Design](https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/)
|
||||||
|
- [When to use JSON data type in database schema design?](https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/)
|
||||||
- [How to read MySQL EXPLAINs](https://planetscale.com/blog/how-read-mysql-explains)
|
- [How to read MySQL EXPLAINs](https://planetscale.com/blog/how-read-mysql-explains)
|
||||||
|
|
||||||
- [Honest health checks that hit the database](https://brandur.org/fragments/database-health-check)
|
- [Honest health checks that hit the database](https://brandur.org/fragments/database-health-check)
|
||||||
- [Why are database columns 191 characters?](https://www.grouparoo.com/blog/varchar-191)
|
- [Why are database columns 191 characters?](https://www.grouparoo.com/blog/varchar-191)
|
||||||
- [Store UUID v4 in MySQL](https://stackoverflow.com/a/43056611)
|
- [Store UUID v4 in MySQL](https://stackoverflow.com/a/43056611)
|
||||||
|
- [Difference between text and varchar (character varying)](https://stackoverflow.com/a/4849030)
|
||||||
|
|
|
@ -151,6 +151,7 @@ Format
|
||||||
- https://github.com/JohnnyMorganz/StyLua
|
- https://github.com/JohnnyMorganz/StyLua
|
||||||
- https://github.com/tamasfe/taplo
|
- https://github.com/tamasfe/taplo
|
||||||
- https://github.com/sqlfluff/sqlfluff
|
- https://github.com/sqlfluff/sqlfluff
|
||||||
|
- https://github.com/crate-ci/typos
|
||||||
|
|
||||||
Language server
|
Language server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue