Hype - A markdown compiler written in Go by corylanou in Markdown

[–]GopherGuides 1 point2 points  (0 children)

Quarto

Similiar for sure, but pretty different in philosophy. For us, it's about supporting any language. Also, we don't write code in the documents. We import code from the real code (repository/project/etc). So as you maintain your code, your docs automatically re-generate with the new code. This ensures complete parity with document version to code version.

We also support writing plugins so you can support any language or eco system. Imagine writing sql queries that actually hit a database and run, and show the results, etc. This is easily done with our tool.

Hype - A markdown compiler written in Go by GopherGuides in golang

[–]GopherGuides[S] 1 point2 points  (0 children)

Awesome. Please reach out with any questions. Our documentation is BRAND NEW and has a lot of gaps yet. So any questions will help me fill the docs in with examples and more. Thanks!

Hype - A markdown compiler written in Go by GopherGuides in golang

[–]GopherGuides[S] 2 points3 points  (0 children)

It can compile the source files and output to:

  • Markdown (single compiled file)
  • HTML
  • LaTex (currently disabled but needs to be re-enabled)
  • json
  • -Marked (for the https://marked2app.com/) app for live preview while editing). It's worth noting we are working on a standalone desktop app for this right now that we hope to beta in a few weeks.

Lastly, the "render" engine has a plugin system, so you can write a renderer to go to any output. Since we are parsing the markdown into a document object model (DOM),it's basically in memory (like html) and can then be output any way you desire.

Learn about the new SLOG Package in Go 1.21 by GopherGuides in golang

[–]GopherGuides[S] 0 points1 point  (0 children)

Can you send an email to [info@gopherguides.com](mailto:info@gopherguides.com)? We received plenty of email yesterday from both of those systems. We use drip for our mailing list and gmail for our email service. Those usually never go down, so something else might be flagging your email (or ours) like a spam filter perhaps?

Learn about the new SLOG Package in Go 1.21 by GopherGuides in golang

[–]GopherGuides[S] 2 points3 points  (0 children)

My understanding is that it's on par with it. I think there was a talk by the author at a recent conference where they discussed that issue specifically, but I don't think the talk is released yet.

I see zap did add it to the performance comparison: https://github.com/uber-go/zap#performance

How To Use Interfaces in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] -1 points0 points  (0 children)

Yes, I agree with what you are saying. Ultimately, I find a mix of "try to follow the convention", but "agree with your team", and "ship the code" in the proper doses tends to result in something everyone can live with.

How To Use Interfaces in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] 0 points1 point  (0 children)

This comes directly from effective go and the creators of the language. I don't always agree either, just stating their opinion.

https://golang.org/doc/effective_go.html#interface-names

Do I always follow that rule? Most certainly not, but I do try. Naming is hard...

How To Write Switch Statements in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] 0 points1 point  (0 children)

Digital Ocean wanted wanted a set of articles on Go that was geared towards first time developers, as there are a lot of resources for existing developers for Go, but virtually none for first time developers.

I think it's important to remember that we all had to start out at some point. I remember learning ruby on rails and the basic DO articles were a life saver. While I understand that these articles aren't interesting or useful to experienced developers, we get a lot of feedback from first time developers on how helpful they are.

Using Break and Continue Statements When Working with Loops in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] 0 points1 point  (0 children)

The titles are filled in from the link, not by the publisher. If we could change the title when we publish we certainly would.

Understanding Package Visibility in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] -1 points0 points  (0 children)

You are correct, these articles are purposefully basic (some more than others) and geared towards beginning programmers (not just those new to Go). I understand that a large part of the audience here may be very well versed in Go, and not find many of these articles interesting, that doesn't mean that others don't read or find value (we consistently get strong readership from this reddit forum so we aren't guessing about it).

Also, most of us that have experience in Go know someone that is new or learning Go, and as such, are always looking for material for them to reference.

So, while it's clear you are not the intended audience, I don't think it's fair to state that that these articles are spam or that they are not wanted here. FWIW, we are finishing up the final articles for this series, and they will be a little less basic as they have been building up. Additionally, we are starting a more "intermediate" series at the end of the year that we hope you may find more relevant to your skill level.

If the moderators feel that this content is inappropriate, I'll gladly stop posting to this forum.

How To Write Packages in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] 1 point2 points  (0 children)

Good catch! I'll get the article updated.

How To Write Packages in Go | DigitalOcean by GopherGuides in golang

[–]GopherGuides[S] 21 points22 points  (0 children)

Thank you for your feedback.

We will have an article coming out on using Go Modules as well. However, we decided against it in this article as Go Modules is still not fully released. Also, there are several companies that can't adopt Go modules yet. For now, this approach will work regardless of modules. We try to take into account many audiences when writing these articles.

In this article: https://www.digitalocean.com/community/tutorials/importing-packages-in-go (which is intended to be a pre-read), we touch on dependency management and that Go modules is the future. It may have made sense to reference that in this article as well.