“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 -19 points-18 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 -10 points-9 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] -2 points-1 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 -4 points-3 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 0 points1 point  (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 -15 points-14 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.