Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emyrk
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
emyrk
10mo ago
I know there exists more generic typing tools. One idea I had was to make a "guts" to convert Golang -> Generic Typing -> All languages. The reason to keep Golang as the source of truth is these types originate from the back
2.
▲
by
emyrk
10mo ago
Using Golang as the source is easier for a Golang backend team. Native types are always going to be the most convenient. The theory when we came out with guts was that Golang's typing system is very simple (this was before generics whe
3.
▲
by
emyrk
10mo ago
Thrilled to see you got value out of it!
4.
▲
by
emyrk
10mo ago
I totally agree a proto first approach to your types can pay back in dividends if you need to serialize over different wires. This project admittedly was developed to solve a specific need in an existing codebase with a lot existing types.
5.
▲
Show HN: Guts – convert Golang types to TypeScript
(github.com)
105 points
by
emyrk
10mo ago
|
30 comments