Better HN
topnewbestaskshowjobs
Log inSign up

santigr

4 karma · joined May 9, 2020 (6y ago) · 7 submissions

Submissions

comment 4y ago · link · parent

I code a small replacement for the postman mock servers and I see that only the pro version of http toolkit come with this feature. If you are interested in a simple and small replacement: https://github.com/sgrodriguez/yams

comment 5y ago · link · parent

Last year I built a go lib call DDT (Dynamic decision tree) DDT allows building custom decision trees based in a set of defined rules, programmatically or from json.

When making a decision, it allows adding a pre-processing stage to the input before comparing it with the following possible branches of the tree.

https://github.com/sgrodriguez/ddt

comment 5y ago · link · parent

https://github.com/sgrodriguez/ddt a decision tree lib in golang for building custom rules decision tree. It allows adding a pre-processing stage to the input before comparing it with the following possible branches of the tree. One of the default preprocessing stages in ddt is calling a method of a struct (CallStructMethod) and getting the attribute of a struct (GetStructAttribute) using reflection, so you can have a struct user with some methods and attributes and build a tree asking question about the user. Create the tree programmatically or by json.

4.

Avoid using Golang DefaultServerMux for production servers(sgrodriguez.github.io ↗)

2 points · by santigr · 6y ago · discuss

comment 6y ago · link · parent

I think the diffrence is that ER personal are prepare for that kind of situations and they more or less know what to expect.

6.

Go 2 Playground(go2goplay.golang.org ↗)

2 points · by santigr · 6y ago · discuss

comment 6y ago · link · parent

a dynamic decision tree lib in golang