[go-nuts] Re: Get Excel Sheet Names

2017-01-26 Thread David Sofo
Sorry I got it : sheet.Name is ok. David Le jeudi 26 janvier 2017 18:33:42 UTC+1, David Sofo a écrit : > > > Hi, > > I am using this Go library https://github.com/tealeg/xlsx to to read > excel file . Is there a way to get all sheets names? Thank you. > > Regards >

[go-nuts] Get Excel Sheet Names

2017-01-26 Thread David Sofo
Hi, I am using this Go library https://github.com/tealeg/xlsx to to read excel file . Is there a way to get all sheets names? Thank you. Regards David -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop rec

[go-nuts] Re: How to speed up execution time for a set of regular expressions

2016-12-13 Thread David Sofo
Thanks Tamas. I am not aware of Ragel. Regard David Le mardi 13 décembre 2016 20:24:18 UTC+1, Tamás Gulácsi a écrit : > > 2016. december 13., kedd 16:53:45 UTC+1 időpontban David Sofo a következőt > írta: >> >> Hi, >> >> For a set of rules expressed in regu

Re: [go-nuts] How to speed up execution time for a set of regular expressions

2016-12-13 Thread David Sofo
; > Andy > > On Dec 13, 2016, at 7:53 AM, David Sofo > > wrote: > > Hi, > > For a set of rules expressed in regular expression (around 1000 rules > expected) to find some keywords in a text file (~50Ko each file), how to > speed up the execution time. Currently I

[go-nuts] How to speed up execution time for a set of regular expressions

2016-12-13 Thread David Sofo
Hi, For a set of rules expressed in regular expression (around 1000 rules expected) to find some keywords in a text file (~50Ko each file), how to speed up the execution time. Currently I compile the regex rule at initialization time with init function at put them in a map at package level th

[go-nuts] Reusable regex in Golang for rule system.

2016-10-20 Thread David Sofo
Hi, I ma new to Go Regex. I want to have a set of reusable rules of regex in golang easy to edit or update. For example a regex for date can be splitted in day, month and year : year=d{4} month=d{2} day=d{2} and for date we can have as following: date=year-month-day Is it possible in golang

[go-nuts] Re: Querying ElasticSearch from Go

2016-09-04 Thread David Sofo
Thank you for your replies. David Le dimanche 4 septembre 2016 00:21:18 UTC+2, David Sofo a écrit : > > Hi, > > I have a set of ElasticSearch queries in string format already. I don't > have to rewrite the queries. How to query ElasticSearch using these strings. > A str

[go-nuts] Querying ElasticSearch from Go

2016-09-03 Thread David Sofo
Hi, I have a set of ElasticSearch queries in string format already. I don't have to rewrite the queries. How to query ElasticSearch using these strings. A string query can have this form: query := `{ "query":{ "bool": { "should": [ {"match": {"