[go-nuts] Re: Data Sharing with Non go application

2021-04-03 Thread R Srinivasan
Great suggestions. Thanks. I will investigate the options. srini On Saturday, April 3, 2021 at 11:20:35 AM UTC-4 Brian Candler wrote: > Have a look at nanomsg. This should abstract away some of the underlying > complexity and let you switch between TCP, IPC and other transports. > > Also look

[go-nuts] Data Sharing with Non go application

2021-04-03 Thread R Srinivasan
In my app, I would like to use golang for a data aggregator subsystem. Would like a fast and efficient way of sharing this data with a consumer subsystem developed in C++. (Both running in the same system). Solution I am pursuing is a shared memory but I am stuck at a somewhat platform

[go-nuts] Help needed - os.exec

2020-04-05 Thread R Srinivasan
I cannot figure the error in the following. package main import ( "io" "os" "os/exec" "strings" ) func Run(args []string) { lf, _ := os.Create("lf.log") defer lf.Close() cmd := exec.Command(args[0], strings.Join(args[1:], " ")) stderr, _ := cmd.StderrPipe() cmd.Start() io.Copy(lf, stderr)

Re: [go-nuts] go modules and internal packages

2020-01-28 Thread R Srinivasan
g-to-go-modules > > Lutz > > > Von: golan...@googlegroups.com > im Auftrag von R Srinivasan > > Gesendet: Dienstag, 28. Januar 2020 00:29 > An: golang-nuts > Betreff: [go-nuts] go modules and internal packages > > I have s

[go-nuts] Re: go modules and internal packages

2020-01-27 Thread R Srinivasan
g internal packages. appreciate pointers. thanks, srini On Monday, January 27, 2020 at 6:29:04 PM UTC-5, R Srinivasan wrote: > > I have so far not migrated towards the new go modules. I am beginning the > process. Looking for ideas. > > I split my applications into indepe > -

[go-nuts] go modules and internal packages

2020-01-27 Thread R Srinivasan
I have so far not migrated towards the new go modules. I am beginning the process. Looking for ideas. I split my applications into indepe -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails

[go-nuts] Ann: spm - Secure Package Manager

2020-01-24 Thread R Srinivasan
Announcing v0.2 of : https://github.com/RajaSrinivasan/spm.git spm - Secure Package Manager Background Secure Package Manager (spm) evolved out of a need to distribute software updates to connected embedded devices with no practical user

[go-nuts] Re: crypto data types

2020-01-14 Thread R Srinivasan
Indeed. My search yielded: go get -u -v github.com/ianmcmahon/encoding_ssh which had exactly what I needed (and should probably be included in the standard ssh package) The use case itself - a digital signature facility in our Over The Network software upgrade procedure. The following is a

[go-nuts] crypto data types

2020-01-13 Thread R Srinivasan
friends looking for guidance on how to get an rsa.PublicKey from id_rsa.pub seems like I can parse the id_rsa.pub contents and get a ssh.PublicKey but how do I transform this into an rsa.PublicKey i need the coersion in order to use other support services. thanks for any pointers, srini --

[go-nuts] issue with yaml processing

2019-12-25 Thread R Srinivasan
I have the following fragment in an input yaml file: contents: [ '../etst1/date1from1' , 'var/lib/to1' , 'from2' , 'to2' ] My go struct for the above looks like: type Config struct { Contents []string `yaml:"contents"` } I use the package gopkg.in/yaml.v3 when I unmarshal

[go-nuts] ANN: rollpwd - a dynamic password generator

2019-11-28 Thread R Srinivasan
all another practical and useful tool I used go for - targeting embedded linux devices at one end and a conventional windows/linux platform in the other. Hoping it will be useful by itself or as an example projectlet: https://github.com/RajaSrinivasan/rollpwd.git Best, Srinivasan -- You

[go-nuts] ANN: srctrace a tool to capture source code repository details

2019-11-16 Thread R Srinivasan
friends The following is the first (of hopefully a few more to come) tools that I built for DevOps. Hoping it will be of use to the community. https://github.com/RajaSrinivasan/srctrace.git best, srini -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] protobuf and golang

2019-03-20 Thread R Srinivasan
n Mon, 18 Mar 2019 09:59:59 -0700 (PDT) > > R Srinivasan wrote: > > > > > my intial attempts to define the data structures have hit a roadblock - > > > support for data types such as uint16, int16, uint8, int8. Is this an > > > inherent protobuf limitation o

[go-nuts] Re: protobuf and golang

2019-03-18 Thread R Srinivasan
Dont follow you. There is a way to indicate a particular field is uint16 in the proto3 language? please clarify. thanks, srini On Monday, March 18, 2019 at 1:08:58 PM UTC-4, Tamás Gulácsi wrote: > > Protobuf is a data interchange format, good to publish that legacy binary > - after you've

[go-nuts] protobuf and golang

2019-03-18 Thread R Srinivasan
all i am investigating the use of go+protobuf for reading binary files of a legacy design. my intial attempts to define the data structures have hit a roadblock - support for data types such as uint16, int16, uint8, int8. Is this an inherent protobuf limitation or am i overlooking something.

[go-nuts] distribution of go executables

2019-02-26 Thread R Srinivasan
what if any are the licensing requirements to distribute a "go" produced executable? are there any "commercial" products built with go? thanks for any info, srini -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group

Re: [go-nuts] Re: Announcing a Fyne GUI toolkit

2018-10-11 Thread R Srinivasan
etadata format > and a centralised build server to work around both build and package > distribution issues... > > I hope that helps, > Andrew > > On Sat, 6 Oct 2018 at 11:41 R Srinivasan > > wrote: > >> 1. What are the "distribution" consideration

[go-nuts] Re: Announcing a Fyne GUI toolkit

2018-10-06 Thread R Srinivasan
1. What are the "distribution" considerations? Considering Windows targets - can we have all the required libraries bundled in the final executable? 2. Can the apps be cross built? i.e. Built on Linux for macOS and windows`targets? thanks for pointers, srini On Friday, September 14,

[go-nuts] go apps in Embedded linux - yocto

2018-09-19 Thread R Srinivasan
Anyone here using go apps in the embedded linux world? particularly yocto based systems? If so I am looking for guidance on the same. Thanks, srini -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

[go-nuts] multilingual, multiplatform system - golang - idl

2018-08-31 Thread R Srinivasan
All Looking for pointers and/or recommendations on interface definition languages that can support go, C, C++, python, (maybe) C#. Message exchange amongst linux, windows and bare metal. thanks in advance, srini -- You received this message because you are subscribed to the Google Groups