var data MemberDetails
detailCollector.OnHTML("div.block-container div.block-body:first-of-type",
func(h *colly.HTMLElement) {
selection := h.DOM
key := selection.Find("dl > dt").Text()
val := selection.Find("dl > dd").Text()
switch key {
case "Full name": data.FullNam
Hello, I am new to golang, and am working on a small web scrapper project,
where i crawl through a website for a guild that i'm associated with.
Ideally I would like to pull the data from each 'dl' (html below) and
insert it into the MemberDetails Struct, however all attempts to parse the
be
Hello Yuan Ting:
I am trying to build Kubernetes with gollvm, and I am glad you have made
some progress. Did you finish compiling Kubernetes with gollvm and
generating IR? If it is true, could you show me some practical steps so I
can compile the Kubernetes to LLVM IR files? Looking forward to y
Thanks Kurtis, that's a good workaround :)
On Sun, 28 Jan 2024 at 21:24, Kurtis Rader wrote:
> What happens if you just alias the var?
>
> argsCopy := args
> fmt.Printf("%v\n", argsCopy)
>
>
> On Sun, Jan 28, 2024 at 12:13 PM Steven Hartland <
> stevenmhartl...@gmail.com> wrote:
>
>> When runnin
What happens if you just alias the var?
argsCopy := args
fmt.Printf("%v\n", argsCopy)
On Sun, Jan 28, 2024 at 12:13 PM Steven Hartland
wrote:
> When running a test I'm getting:
> missing ... in args forwarded to print-like function
>
> Usually this would be helpful as the pass in variadic shou
When running a test I'm getting:
missing ... in args forwarded to print-like function
Usually this would be helpful as the pass in variadic should generally be
expanded with ... but in this case I specifically want the result of
args passed
as a slice.
Is there a way to disable go vet checks for