Unless there is a very strong reason to use a doubly linked list, you should
just use a slice:
type Persons struct { name string; Names []string }
I redid your program using the above here:
https://play.golang.org/p/x5I1wYiCNGA
Sounds like you are coming from some object oriented language
"Doesn't really need to be there" is highly subjective
On Friday, August 28, 2020 at 7:10:45 PM UTC+2 Ashton Cummings wrote:
> My first impression of Go not having generics was negative. I came from
> C#, Java, typescript, C++, and a few other languages that had generics. So,
> learning Go and
Hello, I was trying to write a basic kernel in golang. Before actually
implementing anything in the kernel.go file I wanted to see how go build
cross compiler can be used.
I am currently using :
*go version go1.15* *linux/amd64*
I wrote 3 files: a *loader* (*boot.asm*)file, a
Go is not the best language to write a kernel on. But some people have done
it as an intellectual exercise.
Look at https://github.com/ycoroneos/G.E.R.T
Or https://github.com/f-secure-foundry/tamago
Or read
https://speakerdeck.com/achilleasa/bare-metal-gophers-can-you-write-an-os-kernel-in-go
'Dan Kortschak' via golang-nuts writes:
> The genome of the New Zealand 'lizard', the tuatara[1], has just been
> sequenced and published in Nature[2,3].
>
> The analysis of the genome included an examination of the repetitive
> sequences within the genome. The engine for finding novel
Hello, I need help, I have a struct Person wiith list inside, I add 5
string on list at the end I found that the list is nil, I don't know whre
is the error, any help is appreciated.
package main
import (
"container/list"
"fmt"
)
type Persons struct {
name string
Names
The first version of crib[0], a terminal-based cribbage client, is now
available. It connects to jack[1], a cribbage server. A web-based client
is planned at https://cribbage.world
You will need to use an ssh client to access the server. PuTTY is a popular
choice on Windows.
To play,
I would like to +1 Amnon here,
Although, If you're looking forward to implementing a Kernel in Go, there
is a project called GopherOS (https://github.com/gopher-os/gopher-os/) that
can be of help to you.
In order to generate the .o file, you can refer to the make file here:
Hello Paulina,
I'm interested in Golang contract work. Can you send me more details at
edb...@gmail.com?
Thanks,
Eduard
On Friday, August 28, 2020 at 8:08:58 PM UTC+3 Paulina Rycombel wrote:
> Hi guys, DevsData LLC is looking for Golang Developer Contractor, 100%
> remotely, for part-time
On Sat, Aug 29, 2020 at 10:01 PM Shyaka wrote:
> Hello, I need help, I have a struct Person wiith list inside, I add 5 string
> on list at the end I found that the list is nil, I don't know whre is the
> error, any help is appreciated.
I don't know why you code doesn't work, but as a first
On Sat, Aug 29, 2020 at 2:01 PM Shyaka wrote:
>
> Hello, I need help, I have a struct Person wiith list inside, I add 5 string
> on list at the end I found that the list is nil, I don't know whre is the
> error, any help is appreciated.
>
> package main
>
> import (
> "container/list"
>
Shyaka,
The list package does all operation on list pointer.
In your case, I think you are passing list object instead of pointer.
You have defined your structure as:-
type Persons struct {
name string
Names list.List < Its a list object and not a pointer to
list object.
}
Hi,
Has anyone tried building goanalyzer recently?
Am I missing something very basic here.
goanalyzer/cmd/goanalyzer$ ls
annotations.go doc.go goroutines.go main.go pprof.go trace_test.go
annotations_test.go goanalyzer.iml internal mmu.go trace.go
trace_unix_test.go
goanalyzer/cmd/goanalyzer$
I have not tried building it in a while. I assume some internals have changed.
I’ll look into it.
> On Aug 29, 2020, at 7:08 PM, Siddhesh Divekar
> wrote:
>
> Hi,
>
> Has anyone tried building goanalyzer recently?
> Am I missing something very basic here.
>
> goanalyzer/cmd/goanalyzer$ ls
14 matches
Mail list logo