Thanks for your suggestion!
To put it in context, I'm drafting a plan for my colleagues in order to
make a case for using Go in teaching instead of Fortran or C.
On Friday, March 2, 2018 at 1:29:45 PM UTC-8, dorival...@gmail.com wrote:
>
> Hi, I could be wrong (please correct me ;-), but here
Hi, I could be wrong (please correct me ;-), but here you are what I think
about Go:
INTRODUCTION
Computers and software were initially developed for scientific computing;
e.g., ALGOL and FORTRAN from the 1950s! Therefore, several computer
languages and libraries have been invented and are
Thanks for the feedback.
I'm only vaguely familiar with graphql. From my understanding, it's meant
to facilitate data query for the frontend dev.
But I'm looking at things more from a user perspective here, see my github
example.
I might have to dig into this though.
Le vendredi 2 mars 2018
> Our internal packaging teams biggest worry is that we don't want someone
to download something to their development laptop, compile the code into a
standalone binary, then deploy that out to our container platforms.
That's not really a problem with Go but an organizational problem.
You
>
> I believe correctly used database/sql (with the argument placeholders)
> protects against SQL injection
>
Yeah I badly explained this, an SQL builder solves security *AND*
flexibility for me. Standard database/sql placeholders are too painful when
the user params are too complex, and I
How do you stop people from downloading and deploying arbitrary python or
java libs?
I can see that more than a developer policy is needed since it takes a
corrupt employee only one try to break the system before they’re caught,
and if the employee actually just made a mistake then firing them
Yes(technically) our deploys are controlled via gitlab.
Our internal packaging teams biggest worry is that we don't want someone to
download something to their development laptop, compile the code into a
standalone binary, then deploy that out to our container platforms.
In our production
Nowadays I suppose
best way to do something like this is using GraphQL (for ex.
https://github.com/graphql-go/graphql).
But GraphQL != SQL. Building SQL from HTTP query parameters is not made
more simple and secure by building GraphQL from HTTP query parameters.
Lutz
--
You received this
Hi!
Many years ago I've implemented something similar in Perl, which was later
released as https://metacpan.org/pod/DBIx::SecureCGI. Nowadays I suppose
best way to do something like this is using GraphQL (for ex.
https://github.com/graphql-go/graphql).
--
WBR, Alex.
--
>
> To prevent SQL injection and for flexibility, I'm set on using an sql
> builder library.
I believe correctly used database/sql (with the argument placeholders)
protects against SQL injection.
There’s a query builder for postgres with MIT license posted here a few
days ago:
I am sure it's really cool but the docs are in chinese I assume. Most other
projects speared by non native English speakers still write in English.
Is a translation available?
On Fri, Mar 2, 2018, 14:44 wrote:
> https://github.com/aliyun/alibaba-cloud-sdk-go
>
> Any
https://github.com/aliyun/alibaba-cloud-sdk-go
Any questions you have when using it can be asked directly in the issue area
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send
How can i get a list about which interface is implemented by this
struct methods? (Because in Go there is no explicit interface
declaration.)
os.Open returns an os.File (https://golang.org/pkg/os/#Open).
os.File (https://golang.org/pkg/os/#File) has functions and methods
listed in the index
Hello gophers,
Sorry if this is considered noise to some, as I have a question which is
not specifically go related.
I have a personal project in which I'd like to use go though.
Basically, I'd like to create a complex search form, returning data backed
by an SQL database.
To prevent SQL
Sorry, that only lists the defined interfaces.
As there's no explicit interface "implements" declaration, it is only
checked at compile time.
For example, guru
(https://docs.google.com/document/d/1_Y9xCEMj5S-7rv2ooHpZNH15JgRT5iM742gJkw5LtmQ/view#heading=h.f6hyappclfor)
can help.
--
You
> How can i get a list about which interface is implemented by this struct
> methods? (Because in Go there is no explicit interface declaration.)
>
> for example : io.Closer etc.
>
Every struct that has all the methods exactly as that interface defines -
for io.Closer, a "Close() error" is
Hi
Beginner question
I want to use this :
func Open(name string) (*File, error)
I would like to us *File as return value.
File is declared as :
type File struct {
*file // os specific
}
I understand it.
BUT
How can i get a list about which interface is implemented by this struct
My mistake: there was no src directory under the gopath. It works now.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
Michel,
Could you post the output of 'go env' and the name of the directory from
which you re-ran 'go list'?
-s
sent from my droid
On Mar 2, 2018 9:38 AM, "Michel Hollands" wrote:
> Hello Sebastien,
>
> After setting GOPATH it still occurs.
>
> Thanks,
>
> Michel
>
Hello Sebastien,
After setting GOPATH it still occurs.
Thanks,
Michel
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
On Thu, Mar 1, 2018 at 11:07 PM, James Chacon
wrote:
>
>
> On Thu, Mar 1, 2018 at 10:13 AM, Ian Lance Taylor wrote:
>
>> On Thu, Mar 1, 2018 at 8:56 AM, James Chacon
>> wrote:
>> >
>> > I know the time package includes support
21 matches
Mail list logo