Re: [go-nuts] How to generalize parameters for a function

2023-03-15 Thread Frank Jüdes
core type) I think i have to to some more research here - or just copy and paste three different typed functions… Best regards from Charleston (WV), Frank/2 Frank Jüdes schrieb am Mittwoch, 15. März 2023 um 05:51:10 UTC-4: > Hi Kurtis, > good to know that a map will always be "ki

Re: [go-nuts] How to generalize parameters for a function

2023-03-15 Thread Frank Jüdes
aps - actually i only need three types - to a generic function that passes the values on to another (generic) function. Thank you very much for your help. Best regards from Charleston (WV), Frank/2 Kurtis Rader schrieb am Dienstag, 14. März 2023 um 22:57:13 UTC-4: > On Tue, Mar 14

Re: [go-nuts] How to generalize parameters for a function

2023-03-14 Thread Frank Jüdes
ch in advance for your help. Best regards from Charleston (WV), Frank/2 Ian Lance Taylor schrieb am Dienstag, 14. März 2023 um 21:40:27 UTC-4: > On Tue, Mar 14, 2023 at 6:27 PM Frank Jüdes wrote: > > > > i still somewhat new with Go and need a little tutoring: I have to

[go-nuts] How to generalize parameters for a function

2023-03-14 Thread Frank Jüdes
Hi Friends, i still somewhat new with Go and need a little tutoring: I have to create Excel files, using the *excelize* package and wrote a little function to store data from a map[string]int64 into a column within the worksheet: // -

Re: [go-nuts] How does the go compiler treat initialized string variables?

2022-11-01 Thread Frank Jüdes
in the heap, but somewhere in a text-segment. Frank Jüdes schrieb am Dienstag, 1. November 2022 um 22:15:27 UTC-4: > Thank you very much for the answer! - It actually turns out that my > structure is a bit more complex than i though. The test-cases themself are > a structure of seven st

[go-nuts] Once again: Include files in go?

2022-11-01 Thread Frank Jüdes
Hi friends, i have found a couple of threads about how to include c-headers into go-programs, but nothing that i could use for my rather unique challenge: I have an SQL-Database in which test-cases are being defined in a couple of tables. Those test-cases will be exported by a PL/SQL program as

Re: [go-nuts] How does the go compiler treat initialized string variables?

2022-11-01 Thread Frank Jüdes
. I think that's a good sign. Jan Mercl schrieb am Dienstag, 1. November 2022 um 15:47:47 UTC-4: > > > On Tue, Nov 1, 2022, 20:36 Frank Jüdes wrote: > >> I have to write a program that should verify the content of >> configuration-servers. It will need a lot of pre-initi

[go-nuts] How does the go compiler treat initialized string variables?

2022-11-01 Thread Frank Jüdes
I have to write a program that should verify the content of configuration-servers. It will need a lot of pre-initialized data to verify the actual content of a server, so it has to initialize many strings. What i know from other C-style languages is, that code like var MyString *string = 'Hel