Explore >> Select a destination


You are here

www.ardanlabs.com
| | www.fastly.com
111.1 parsecs away

Travel
| | Take a developer deep dive into Terrarium, our multi-language, browser-based editor and deployment platform at the edge. Learn how to compile Rust programs to WebAssembly right on your local machine, interact with the Terrarium system, and explore some applications weve built with it.
| | www.4async.com
166.7 parsecs away

Travel
| | ???Mi?osz Smó?ka ???Kevin ?????https://threedots.tech/post/common-anti-patterns-in-go-web-applications/\n????????????????????????????\n???????????????????????????????????????????????????????????????????????????????????????????????????\n????????????Web????????????????????????????????????????????????\n???????????????????????????????????????????????????????????????????????????????????????????\nWeb????????????????????????????????????????????\n???????Go??????????????\n?????? ??????????????????\n?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????\n????????????????????????????????????????????????????????????????????\n??????????????????????????????????????????????????????????????????????????????????????????????\n? ????????? ????????????????????????\n??????????????????????????????????????\n? ?????? ??????????????????????????????????????????\nDRY????? ????????????????????????(Don't Repeat Yourself, DRY)???\n?????????????????????????????????????????: ?????????????????????\n????????????????????????????\n"?????"??????????????????????????DRY?????\n????????????????????????????????DRY???????????????????\n?Go???DRY ??????????Go???????????????????????????\n?????????????????Go????????????????????????????????????\n???????????????????Go??????????????????\nif err != nil { return err } ??????????????????????????DRY????????????????????????????????\n?????????Go?????????????????????DRY???????????\n????????????? Go?????????????????????????DRY???????????????????? ??????????????????????????????\n??????????????User??????\ntype User struct { ID int `json:"id" gorm:"autoIncrement primaryKey"` FirstName string `json:"first_name" validate:"required_without=LastName"` LastName string `json:"last_name" validate:"required_without=FirstName"` DisplayName string `json:"display_name"` Email string `json:"email,omitempty" gorm:"-"` Emails []Email `json:"emails" validate:"required,dive" gorm:"constraint:OnDelete:CASCADE"` PasswordHash string `json:"-"` LastIP string `json:"-"` CreatedAt *time.Time `json:"-"` UpdatedAt *time.Time `json:"-"` } type Email struct { ID int `json:"-" gorm:"primaryKey"` Address string `json:"address" validate:"required,email" gorm:"size:256;uniqueIndex"` Primary bool `json:"primary"` UserID int `json:"-"` } ?????github.com/ThreeDotsLabs/go-web-app-antipatterns/01-coupling/01-tightly-coupled/internal/user.go\n
| | www.opsdash.com
62.5 parsecs away

Travel
| | How to write a Slack bot in Go!
| | nurkiewicz.com
180.7 parsecs away

Travel
| Clojure is a dynamically, strongly typed programming language. It's a dialect of _Lisp_ running on the Java Virtual Machine. Lisp is 6 decades old and has a really weird syntax. That weird syntax is called _Polish prefix notation_. Basically, in every other language you've used math operators like plus or minus are infix. It means they are placed between operands. For example, `1 + 2`. In Clojure, you always put the operator (or any other function for that matter) in front. So simple addition becomes... `+ 1 2`.