Hi,
I have created a proposal to add EvalJSONPointer function to support
RFC 6901 in Go.
https://github.com/golang/go/issues/42009
Please take a look and add your comments!
Regards,
Baiju Muthukadan
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" gr
On Thu, Oct 15, 2020 at 8:00 PM nilsocket wrote:
> No, dir "a" is being created.
Yes, I understand you are trying to create the directory. My point is that
you don't verify that the `os.MkdirAll` call succeeds. On my Windows 10
system your program works fine unless I create a file named "a" bef
No, dir "a" is being created.
Intact, I was testing out big list of naughty strings, I didn't have
problem with any string but this one.
Regarding error, I don't mean error is "linked picture", I mean, for error
one can look at the picture which I have linked.
On Friday, October 16, 2020 at 8:
On Thu, Oct 15, 2020 at 7:29 PM Kurtis Rader wrote:
> Works for me. Of course the actual error you're seeing is "The system
> cannot find the path specified", not "Linked picture". You're not checking
> the error returned by `os.MkdirAll` so I would presume that creating the
> directory "a" is fa
Works for me. Of course the actual error you're seeing is "The system
cannot find the path specified", not "Linked picture". You're not checking
the error returned by `os.MkdirAll` so I would presume that creating the
directory "a" is failing on your system. Try printing the error returned by
`os.M
Good to know that.
Thanks for your response Ian.
On Thursday, October 15, 2020 at 6:42:33 PM UTC+3 Ian Davis wrote:
> On Thu, 15 Oct 2020, at 4:16 PM, Brian Candler wrote:
>
> It looks like a parsing ambiguity to me. The error suggests that the
> open-brace is being treated as the start of th
You basically have to see the test file as an alternative package main, which
can but (generally?) does not have to have access to the contents of the main
package, as such you don't have access to the drivers by default...
[Joop Kiefte - Chat @
Spike](https://spikenow.com/r/a/?ref=spike-organi
Thanks for this explanation. I have looked into the go.sum and found an
mssql driver in there which was used in another package two levels above
where I was testing. The driver that was needed was mssql not mysql; which
was the reason why my first import of the mysql driver in the test file
did
Library has vast amount of different built throttler conditions, among
which are:
- leaky-bucket
- latency threshold
- metrics
- etc.
Library allows to easily combine them into more complex throttling
pipelines and also ships tools to easily integrate it into existing
infrastructure, for e.g. go
saurav deshpande once said:
> How to implement macro in plan9 assembly? I read the documentation of
> plan9 assembly but could not find it. Is there any alternative for
> macro in plan9?
Assembly language source files are preprocessed just like C source.
The familiar #define and #include directiv
FWIW, the import of the driver doesn't have to be in the main-package
itself, it could also be in one of its transitive imports (which isn't
imported transitively by the test). Is there an `mssql` module in your
`go.sum`? If so, you could use `go mod why` to find out how it's imported.
On Thu, Oct
Understand.
Here is the piece of code that does the connection:
// dbInfo =
sqlserver://gh:password!655@localhost:7867?database=test_database
db, err := sql.Open("mssql", dbInfo)
if err != nil {
log.Errorf("Could not open database: %s\n %s\n", dbInfo, err.Error())
return nil,
How to implement macro in plan9 assembly? I read the documentation of
plan9 assembly but could not find it. Is there any alternative for macro in
plan9?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop re
I mean the full command that has the connection string in it, most importantly
the driver string. Sorry for not putting that as clearly as I could...
[Joop Kiefte - Chat @
Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=q8f5w)
[q8f5w]
On October 15, 2020 at 16:19 GMT, farid
The connection works when running the application.
Here is the connection string (changed sensitive info):
sqlserver://gh:password!655@localhost:7867?database=test_database
Thanks
On Thursday, October 15, 2020 at 6:36:11 AM UTC-7 iko...@gmail.com wrote:
> Just a hunch, what does your connectio
On Thu, 15 Oct 2020, at 4:16 PM, Brian Candler wrote:
> It looks like a parsing ambiguity to me. The error suggests that the
> open-brace is being treated as the start of the body of the if-statement, i.e.
>
> if v := T {
> }.F()
>
> Try changing it to
>
> if v == T{}.F(); v {}
>
> and you'll
It looks like a parsing ambiguity to me. The error suggests that the
open-brace is being treated as the start of the body of the if-statement,
i.e.
if v := T {
}.F()
Try changing it to
if v == T{}.F(); v {}
and you'll get a different error: "syntax error: unexpected . at end of
statement"
Giving these 2 statements (in main function), the first passes and the
second causes a parse-error.
type T struct{}
func (T) F() bool { return true }
func main() {
v := T{}.F() // works
if v := T{}.F(); v {} // syntax error: cannot use v := T as value
}
I went over the grammar rules of the "If
Just a hunch, what does your connection string look like?
[Joop Kiefte - Chat @
Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=q87fr)
[q87fr]
On October 15, 2020 at 13:30 GMT, farid sobhany wrote:
I have searched the whole application for that import, and I couldn't find i
I have searched the whole application for that import, and I couldn't find
it. I did import it in the test file and still got the same error.
On Thursday, October 15, 2020 at 12:43:36 AM UTC-7 be...@pferdewetten.de
wrote:
> Maybe you're importing it somewhere else in your main package. In any
>
Maybe you're importing it somewhere else in your main package. In any
case, adding an anonymous import in one of your _test.go-files should do
the trick.
On 15.10.20 03:53, farid sobhany wrote:
I am using database/sql to connect to a Mssql server and it works when I
run the application. But wh
21 matches
Mail list logo