Solution Please... cannot use type string as type *string

To a slice of strings you can either append a string, or use the dot-dot-dot syntax to append all the elements of another slice of strings. Your example is in between those two working variants, so you need to decide if Title1 should be a string or if you mean Title1....

Here’s a good article about slices: https://blog.golang.org/go-slices-usage-and-internals

1 Like