Data structure code review

Hi! I wrote my first data structure in Go. I wonder how idiomatic my code is to enhance it. Previously, I had C# and Java experience.

You did very well, you wrote a Generic class for a linked list, which is cool.
The only problem is that you should put your codes in another package not in the main directly
so that you can share your codes with others easily
remember that package is very similar to class in another language (like Java or C#, C++)

1 Like