|
You are here |
blog.carlana.net | ||
| | | | |
hjr265.me
|
|
| | | | | Working with user-generated content is always a nightmare interesting. Let's say you are building a blogging platform with Go. Your users write posts in Markdown that the platform then renders as HTML. And, you want to add target="_blank" and rel="noreferrer noopener" to all the external links. How do you do that? Annotated Code The steps are simple: Parse the HTML with golang.org/x/net/html. Walk the tree. The annotated code below implements a simple Walk function. | |
| | | | |
blog.sergiodj.net
|
|
| | | | | [AI summary] A technical announcement detailing the implementation of Ubuntu's debuginfod service to automatically index and serve source code for debugging packages, solving previous issues with manual setup and path management. | |
| | | | |
schadokar.dev
|
|
| | | | | In this tutorial, we will learn how to read and write files in the file system using the `io/ioutil` package. | |
| | | | |
www.orochena.net
|
|
| | | [AI summary] The article argues that software development should prioritize clear communication and code accessibility for future collaborators over the exclusive use of advanced language features. | ||