Re: [go-nuts] Using go module 101, undefined types

2023-09-11 Thread 'Axel Wagner' via golang-nuts
The code you posted does not actually contain the string `api.PetStore`, so it seems to be incomplete. From extrapolation, I agree that it should work, so the issue must be in that incomplete part. On Mon, Sep 11, 2023 at 11:23 PM Tong Sun wrote: > This is really a go module 101 question, as I'm

[go-nuts] Using go module 101, undefined types

2023-09-11 Thread Tong Sun
This is really a go module 101 question, as I'm trying to understand and solve the *undefined types* problem that I'm having. I have: $ head -1 go.mod module backend And in my internal/petstore/main.go file, I have: package main import api "backend/internal/petstore/interfaces/ports" func m

[go-nuts] Re: possible bug in slog.Value json marshaling

2023-09-11 Thread Jonathan Amsterdam
Hi Steve, I'm not sure what the right answer is. Can you file this as a bug on go.dev/issues? On Thursday, September 7, 2023 at 2:30:09 PM UTC-4 Steven Pelley wrote: > Hi everyone, > > Possibly a bug or potential improvement in slog. > This will sound excessively complicated, which I recognize a

Re: [go-nuts] x/mobile: avoid to catch sigabort signal

2023-09-11 Thread Danilo bestbug
Ehy Kurtis, Ehy TheDiveO thanks for the answer. Yes English is not my native language and I try to be precise as best as I can with my capabilities, thanks a lot for the patience and the effort on your side to understand what I'm sayings. Now that I read your answer is a little bit clearer how t

Re: [go-nuts] How to debug fatal error: unexpected signal during runtime execution ?

2023-09-11 Thread 'Chaitanya Kapre' via golang-nuts
Same issue found while doing multi threading in C. It runs fine when single thread is there but fails for multithread. Did you know how to implement multi threading in C python with golang integratiion? On Tuesday, August 25, 2015 at 6:10:22 AM UTC+5:30 eviefe...@gmail.com wrote: > hello!I go

Re: [go-nuts] x/mobile: avoid to catch sigabort signal

2023-09-11 Thread TheDiveO
CMAC_resume might be something from here, IIRC Darwin's OpenBSD anchestry: https://man.openbsd.org/CMAC_Init.3 On Monday, September 11, 2023 at 8:17:44 AM UTC+2 Kurtis Rader wrote: > On Sun, Sep 10, 2023 at 10:41 PM Danilo bestbug > wrote: > >> Hey Robert, >> The problem is not reproducible in