feat: more data

main
sudo pacman -Syu 2024-07-08 01:31:58 +07:00
parent d2bd053f8f
commit d650c545ce
6 changed files with 147 additions and 94 deletions

View File

@ -1022,78 +1022,106 @@ fieldalignment -fix ./internal/business/<span class="pl-k">*</span>.go</pre>
</div>
<ul>
<li>
<a
href="https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis"
rel="nofollow"
>Functional options for friendly APIs</a
>
<p>
<a
href="https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis"
rel="nofollow"
>Functional options for friendly APIs</a
>
</p>
</li>
<li>
<a
href="https://abhinavg.net/2022/12/06/designing-go-libraries/"
rel="nofollow"
>Designing Go Libraries: The Talk: The Article</a
>
<p>
<a
href="https://dave.cheney.net/2016/04/27/dont-just-check-errors-handle-them-gracefully"
rel="nofollow"
>Dont just check errors, handle them gracefully</a
>
</p>
</li>
<li>
<a href="https://github.com/uber-go/guide/blob/master/style.md"
>Uber Go Style Guide</a
>
<p>
<a
href="https://abhinavg.net/2022/12/06/designing-go-libraries/"
rel="nofollow"
>Designing Go Libraries: The Talk: The Article</a
>
</p>
</li>
<li>
<a href="https://google.github.io/styleguide/go/index" rel="nofollow"
>Google Go Style</a
>
<p>
<a
href="https://abhinavg.net/2023/09/27/future-proof-packages/"
rel="nofollow"
>GopherCon 2023: Future-Proof Go Packages</a
>
</p>
</li>
<li>
<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>
<a href="https://github.com/uber-go/guide/blob/master/style.md"
>Uber Go Style Guide</a
>
</p>
</li>
<li>
<a href="https://mtlynch.io/notes/picoshare-perf/" rel="nofollow"
>Fixing Memory Exhaustion Bugs in My Golang Web App</a
>
<p>
<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>
<a
href="https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types"
rel="nofollow"
>Prevent Logging Secrets in Go by Using Custom Types</a
>
<p>
<a href="https://mtlynch.io/notes/picoshare-perf/" rel="nofollow"
>Fixing Memory Exhaustion Bugs in My Golang Web App</a
>
</p>
</li>
<li>
<a
href="https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen"
rel="nofollow"
>Speed Up GoMock with Conditional Generation</a
>
<p>
<a
href="https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types"
rel="nofollow"
>Prevent Logging Secrets in Go by Using Custom Types</a
>
</p>
</li>
<li>
<a
href="https://turriate.com/articles/making-sqlite-faster-in-go"
rel="nofollow"
>Making SQLite faster in Go</a
>
<p>
<a
href="https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen"
rel="nofollow"
>Speed Up GoMock with Conditional Generation</a
>
</p>
</li>
<li>
<a href="https://encore.dev/blog/advanced-go-concurrency" rel="nofollow"
>Advanced Go Concurrency</a
>
<p>
<a
href="https://turriate.com/articles/making-sqlite-faster-in-go"
rel="nofollow"
>Making SQLite faster in Go</a
>
</p>
</li>
<li>
<a
href="https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/"
rel="nofollow"
>Go generic: non-ptr to ptr</a
>
<p>
<a
href="https://danielms.site/zet/2023/go-generic-non-ptr-to-ptr/"
rel="nofollow"
>Go generic: non-ptr to ptr</a
>
</p>
</li>
<li>
<a href="https://xeiaso.net/blog/gonads-2022-04-24" rel="nofollow"
>Crimes with Go Generics</a
>
<p>
<a href="https://xeiaso.net/blog/gonads-2022-04-24" rel="nofollow"
>Crimes with Go Generics</a
>
</p>
</li>
</ul>

View File

@ -358,61 +358,77 @@
</div>
<ul>
<li>
<a href="https://use-the-index-luke.com/" rel="nofollow"
>Use The Index, Luke</a
>
<p>
<a href="https://use-the-index-luke.com/" rel="nofollow"
>Use The Index, Luke</a
>
</p>
</li>
<li>
<a
href="https://www.foxhound.systems/blog/essential-elements-of-high-performance-sql-indexes/"
rel="nofollow"
>Essential elements of high performance applications: SQL indexes</a
>
<p>
<a
href="https://kevin.burke.dev/kevin/reddits-database-has-two-tables/"
rel="nofollow"
>Reddits database has two tables</a
>
</p>
</li>
<li>
<a
href="https://architecturenotes.co/things-you-should-know-about-databases/"
rel="nofollow"
>Things You Should Know About Databases</a
>
<p>
<a
href="https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/"
rel="nofollow"
>My Notes on GitLab Postgres Schema Design</a
>
</p>
</li>
<li>
<a
href="https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/"
rel="nofollow"
>When to use JSON data type in database schema design?</a
>
<p>
<a
href="https://shekhargulati.com/2022/01/08/when-to-use-json-data-type-in-database-schema-design/"
rel="nofollow"
>When to use JSON data type in database schema design?</a
>
</p>
</li>
<li>
<a
href="https://shekhargulati.com/2022/07/08/my-notes-on-gitlabs-postgres-schema-design/"
rel="nofollow"
>My Notes on GitLab Postgres Schema Design</a
>
<p>
<a
href="https://planetscale.com/blog/how-read-mysql-explains"
rel="nofollow"
>How to read MySQL EXPLAINs</a
>
</p>
</li>
<li>
<a
href="https://planetscale.com/blog/how-read-mysql-explains"
rel="nofollow"
>How to read MySQL EXPLAINs</a
>
<p>
<a
href="https://brandur.org/fragments/database-health-check"
rel="nofollow"
>Honest health checks that hit the database</a
>
</p>
</li>
<li>
<a
href="https://brandur.org/fragments/database-health-check"
rel="nofollow"
>Honest health checks that hit the database</a
>
<p>
<a href="https://www.grouparoo.com/blog/varchar-191" rel="nofollow"
>Why are database columns 191 characters?</a
>
</p>
</li>
<li>
<a href="https://www.grouparoo.com/blog/varchar-191" rel="nofollow"
>Why are database columns 191 characters?</a
>
<p>
<a href="https://stackoverflow.com/a/43056611" rel="nofollow"
>Store UUID v4 in MySQL</a
>
</p>
</li>
<li>
<a href="https://stackoverflow.com/a/43056611" rel="nofollow"
>Store UUID v4 in MySQL</a
>
<p>
<a href="https://stackoverflow.com/a/4849030" rel="nofollow"
>Difference between text and varchar (character varying)</a
>
</p>
</li>
</ul>

View File

@ -735,6 +735,11 @@
>https://github.com/sqlfluff/sqlfluff</a
>
</li>
<li>
<a href="https://github.com/crate-ci/typos"
>https://github.com/crate-ci/typos</a
>
</li>
</ul>
<p>Language server</p>
<ul>

View File

@ -516,14 +516,15 @@ go clean -cache -testcache -modcache -fuzzcache -x
## Thanks
- [Functional options for friendly APIs](https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis)
- [Dont 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/)
- [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)
- [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/)
- [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)
- [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)
- [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/)
- [Crimes with Go Generics](https://xeiaso.net/blog/gonads-2022-04-24)

View File

@ -144,11 +144,13 @@ Use `SELECT 1` to check if database failed yet.
## Thanks
- [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/)
- [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/)
- [Reddits database has two tables](https://kevin.burke.dev/kevin/reddits-database-has-two-tables/)
- [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)
- [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)
- [Store UUID v4 in MySQL](https://stackoverflow.com/a/43056611)
- [Difference between text and varchar (character varying)](https://stackoverflow.com/a/4849030)

View File

@ -151,6 +151,7 @@ Format
- https://github.com/JohnnyMorganz/StyLua
- https://github.com/tamasfe/taplo
- https://github.com/sqlfluff/sqlfluff
- https://github.com/crate-ci/typos
Language server