Hi Adam,
thanks for that article. I really like the idea and will try it on one of my
next projects.
Cheers,
Chris
On Thu, Apr 07, 2022 at 01:33:49PM -0700, 'Adam Berkan' via golang-nuts wrote:
> Khan Academy Engineering Blog Post:
> https://blog.khanacademy.org/statically-typed-context-in-go
Hi,
your program never defines and registers a handler for the browser to get the
PNG file from the server. You essentially only serve test2.html. If you take a
look at
the developer console on the browser (network tab) and reload the page you'll
see that "blank grey.png" will be the same size a
Hi,
thank you for the helpful comments. That's what I love about the Go community.
On Thu, Mar 04, 2021 at 03:14:04PM +0100, 'Axel Wagner' via golang-nuts wrote:
> - Who's responsible for doing that work? If I return *os.File directly
> from getFile(), there's an implicit assumption that
Hello Gophers,
since I obviously don't have enough Twitter followers to get more than
one answer to my Go question I'm posting it here ;-)
Would you consider this idiomatic Go code?
https://play.golang.org/p/ymPt_9tKQ9p
I'm talking specifically about returning a cleanup function. My
reasoni
>
> -rob
>
>
> On Thu, Aug 24, 2017 at 12:12 AM, Wojciech S. Czarnecki
> wrote:
> > On Wed, 23 Aug 2017 10:51:25 +0200
> > Christian von Kietzell wrote:
> >
> >> [*1] The data comes from a web browser extension using the native
> >> messagi
6wl7I
> >
> > -rob
> >
> > On Thu, Aug 24, 2017 at 8:24 AM, wrote:
> >> It use unsafe, but works even in playground:
> >> https://play.golang.org/p/S1rw157M9C
> >>
> >>
> >> On Wednesday, August 23, 2017 at 3:49:39 PM UTC+3, Christia
Hi,
I've stumbled across a problem I don't know how to solve.
I'm trying to read (from stdin) four bytes into a uint32 value. Those
bytes are provided in _native_ byte order by an external program.[*1]
Since I've found nothing in the standard library to determine the
machine's native byte order
On Tue, Dec 20, 2016 at 12:45:33AM -0800, so.qu...@gmail.com wrote:
> How would I cast type alias MyInt and interface Foo, to an int?
>
> https://play.golang.org/p/Sb80WoKh4Y
bar = int(foo.(MyInt))
Chris
--
Nothing to see here. Move along.
--
You received this message because you are subs