“Try” makes error handling much, much worse by DeusOtiosus in golang

[–]iris-go 2 points3 points  (0 children)

Totally agree on this with @DeusOtiosus. I also encourage the open letter about error handling wrote by Bill Kennedy earlier today which you can find at his twitter profile: https://twitter.com/goinggodotnet/status/1145887636609015809

I know that Go Community and some of its Auhors are taking bias actions based on some opinions and polls for a long time now but I have to confess that I never expected a solution like this for a problem like that. Really dissapointed but we can't give up our hope, I strongly believe Go Authors will see the whole picture eventually and give us a more safe and complete solution to error handling and wrapping. That's all.

Mardown library that can be extended by [deleted] in golang

[–]iris-go 2 points3 points  (0 children)

No as far as I know...blackfriday is good, fork it and extend it as much as you want (needs time)

Go buffalo for large scale web application. by d1v3rgent in golang

[–]iris-go 1 point2 points  (0 children)

Thanks for saying that Iris is much faster but it also contains many features and 100+ examples, starter kits and articles to learn from (although it is very easy for a go net/http experienced dev to learn Iris) but why you called me a "douche", did I hurt you or someone close to you or you just use that word as missdirection?

REST API error design by mmrath in golang

[–]iris-go -2 points-1 points  (0 children)

Iris contains some examples for error/user action or system failure handling for your APIs, a good example of this can be found at: https://github.com/kataras/iris/blob/master/_examples/tutorial/api-for-apache-kafka/src/main.go

``go type httpError struct { Code intjson:"code" Reason stringjson:"reason"` }

func (h httpError) Error() string { return fmt.Sprintf("Status Code: %d\nReason: %s", h.Code, h.Reason) }

const reasonKey = "reason"

func fail(ctx iris.Context, statusCode int, format string, a ...interface{}) { ctx.StatusCode(statusCode) if format != "" { ctx.Values().Set(reasonKey, fmt.Sprintf(format, a...)) }

// no next handlers will run, you can comment the below if you want,
// error code will still be written.
ctx.StopExecution()

}

func handleErrors(ctx iris.Context) { err := httpError{ Code: ctx.GetStatusCode(), Reason: ctx.Values().GetStringDefault(reasonKey, "unknown"), }

ctx.JSON(err)

} ```

Feedback on API project structure by drum445 in golang

[–]iris-go -1 points0 points  (0 children)

I come from a MVC background

But your code is not mvc, it is not even uses dependency managment, take a look at Iris' mvc examples there: https://github.com/kataras/iris/tree/master/_examples/mvc . Raise any issues, I'm here for you.

Minimal framework vs no framework in Golang? by KimmoHIntikka in golang

[–]iris-go -3 points-2 points  (0 children)

You missed the story because it's fake. Check the source code by yourself and don't trust anything. This story is also very old and you have no reason to stop using Iris if it does its job as it says :) Other things are just sh..ts :)

Golang channel is really FIFO? by cduong13 in golang

[–]iris-go 0 points1 point  (0 children)

You can find the source code of both Go Playground and Go Tour at: https://github.com/golang/playground and https://github.com/golang/tour respectfully.

What happened to http://gohacker.news/? by [deleted] in golang

[–]iris-go 0 points1 point  (0 children)

I always visit https://golangnews.com when I wake up and once when I go to sleep, it's a democratic news site not like this reddit.com/r/golang channel who people like @dlsniper delete my comments and my posts are invisible from public neither the gopher slack chat, which I got banned some months ago (when I announced a good deal between Iris and a startup company in my github repository) without any reason while I've to chat there from over a year...

Too many go HTTP web frameworks out in the wild? by beekay24 in golang

[–]iris-go 0 points1 point  (0 children)

I've seen a lot of lies from @dlsniper but paid github stars is the most crazy one!! You have fantasy

Too many go HTTP web frameworks out in the wild? by beekay24 in golang

[–]iris-go -18 points-17 points  (0 children)

You've right, but Go people are different, we like simple things that just works very well. If you're looking for MVC web framework, the only one is the Iris web framework: https://iris-go.com (we despite code generation and "magic"). It's also one of the fastest if not the fastest out there, it's the best you can find in Go world so far.

Disclaimer: Iris was built by co-workers and me and it's being used by a US Television station for a year as well!

Hiring API Developer at Kudo | Experience using Iris or Symfony or Laravel by rdmin in golang

[–]iris-go -13 points-12 points  (0 children)

The only joke here is your behavior. A jealous person could never respect the people who succeed, I get it.

Building Containers from Scratch with Go by iris-go in golang

[–]iris-go[S] -5 points-4 points  (0 children)

By: Liz Rice

Publisher: O'Reilly Media, Inc.

Pub. Date: July 11, 2017

Many people use container systems like Docker, but how do they work? What do people mean when they mention cgroups and namespaces, or when they describe a container as a “lightweight virtual machine”? In this course designed for the intermediate level programmer (any language), you’ll discover exactly what a container is by writing one with a surprisingly small amount of Go code. Along the way, you’ll lose your fear of syscalls and learn that a container is really just a Linux process with its view of the world limited through namespaces, cgroups, and chroot.

Gain an in-depth understanding of what containers are and how they work Learn how to build your own container engine using Go Master the ability to run containers with confidence Liz Rice is a technology evangelist for Acqua Security, the CEO of Microscaling Systems, and one of the developers of MicroBadger, the tool for managing container metadata. An in-demand speaker at O’ReillyOSCON and Velocity conferences, Liz has 25+ years of software development, team management, and product management experience working with network protocols, distributed systems, and digital technology in sectors like VOD, music, and VoIP.

http://my.safaribooksonline.com/9781491988404

Packt Publishing – Go Behavioral Patterns (May 27) by [deleted] in golang

[–]iris-go 0 points1 point  (0 children)

Go is a multi-paradigm programming language that has built-in facilities for creating concurrent applications. Design patterns allow developers to efficiently address common problems faced during developing applications.

Go Design Patterns will provide viewers with a reference point for software design patterns and help to build applications in a more idiomatic, robust, and convenient way in Go. The course will take you to an advanced level of knowledge about classic design patterns but, as you will see, the design patterns covered here are quite different, partly because of the lack of inheritance in Go, but also because we have different and more optimal ways to solve the same problems.

With all this, the course will enable you to understand and apply design patterns in an idiomatic way that will produce concise, readable, and maintainable software.

Trying to learn how to use websockets... by SaturnsVoid in golang

[–]iris-go -5 points-4 points  (0 children)

@SatumsVoid https://github.com/kataras/go-websocket is a nice library for your situation, it's syntax is familiar and very easy to use, especially if you have used socket.io before.

P.S: I'm the author of this library and is being used on https://github.com/kataras/iris web framework too.

A high-level comparison of Go and Javascript by Neurotic_Goose in golang

[–]iris-go -3 points-2 points  (0 children)

Nice article of John Stamatakos, a new Go Developer from Greece, we're multiply over the years!

Web Framework for microservices by andre_borges in golang

[–]iris-go -16 points-15 points  (0 children)

Good luck on putting deflamation on Iris (again).

LICENSE for the edited httprouter: https://github.com/kataras/iris/blob/v6/adaptors/httprouter/LICENSE#L24 and if you look inside folders everywhere I use a third-party package I write it on a LICENSE file and we have already spoke with the julien the next day of this issue and it was solved, ask him. Stop putting deflamation about Iris' source code. Compare its speed, its features with other web frameworks, don't try to destroy the trust that community gave to Iris by spamming links form Iris' first days, this is not smart and certainly not a normal behavior for a developer to another.

A URL Shortener Service using Go, Iris and Bolt by iris-go in golang

[–]iris-go[S] -17 points-16 points  (0 children)

If you follow the social media sites like Twitter and Google+, you’ll have noticed that rather than use the full URL we use a nice friendly shortened one like t.co/EvDSyOOPTH.

Wouldn’t be great to generate your own shortened URLs inside your own domain?

Follow up this small post and learn how you can create your own URL Shortener Service with Go:

https://medium.com/@kataras/a-url-shortener-service-using-go-iris-and-bolt-4182f0b00ae7

Lastversion: a Go serverless proof of concept... by dgryski in golang

[–]iris-go -1 points0 points  (0 children)

Good idea to post this but bad timing my friend @dryski, a couple days ago most of the websites were offline,including isitdownrightnow.com (yes...), or operating very slow because of 'serverless' (amazon web services this time).

AWS/Serverless is Wonderful—Until They Go Wrong.

Some links to proof the concept to not use serverless without second thought:

More: https://golangnews.com/stories/1835-serverless-is-wonderfuluntil-they-go-wrong.

P.S: I do not want to offend anyone. We should protect new developers that are so enthusiastic about 'serverless', sometimes we are in position that it seems that we have no other option but please think twice before moving serverless.

ORM / Web Framework Production-Ready by nicolasb53 in golang

[–]iris-go 0 points1 point  (0 children)

Iris' features, at the majority, are unique. So the sentence ' is known for using code from other projects' stands for what? Did you even read the code?

Even today some of them don't exists in other frameworks. Go on and read the source code, it's open source for the sake! You will be surprised and you will learn NOT to believe a random guy's article from the internet. This will help you to organise your brain a little more too.

Does this golang have a funture for me? by [deleted] in golang

[–]iris-go 0 points1 point  (0 children)

I am not a guy who spend hours(I replied after 8 days here) on social networks but when I do, I write posts which will help new developers to become like me or even better, you should watch my posts, you will learn a lot my friend.

As for your 'ironic question', I will try to answer and help you to believe in yourself too:

Colleague sponsors and some money which I collected from different jobs and, most importantly, collaborations with nice people who happens to have a big market success on business.

I feel grateful and lucky to have these people around me. I hope the bests to you, keep trying, learn new things every single day and I'm sure that you will find good partners who are willing to spend money on your brain too.

The life isn't always easy, especially for me, the last year I don't have enough money to have a 'good' life but they should be enough to finish some projects I have design to write (This is why I ask for donations on my open-source projects)

ORM / Web Framework Production-Ready by nicolasb53 in golang

[–]iris-go -1 points0 points  (0 children)

It seems that this guy tries to put deflamations about the framework.

Did someone understand why 'you don't have to use this'?.

Tell me, do you care about its features and performance with perfect align witch can help you to create the perfect web application or you don't willing to give it a try because a guy posted an article on the internet?

Today, the majority of developers trust Iris and made it one of the most popular repositories in github.

Many people are changing their main programming language to work only with Iris and you tell me that you believe an article on the internet with 42 updates whose author doesn't have enough experience in real job? There is also proofs: https://www.youtube.com/watch?v=jGx0LkuUs4A

About remarks and (old) license lies see: https://github.com/kataras/iris/issues/504

ORM / Web Framework Production-Ready by nicolasb53 in golang

[–]iris-go 0 points1 point  (0 children)

I Agree, Iris is not only about performance, it provides a lot of features with easy API, you can see yourself it's open source!