├── LICENSE ├── README.md ├── arrays ├── array_methods │ ├── arrayMethods.ts │ └── array_methods.go ├── arrays.ts └── arrays_slices.go ├── class ├── class.go └── class.ts ├── conditionals ├── conditionals.go └── conditionals.ts ├── error_handling ├── error_handling.go └── error_handling.ts ├── file_handling ├── file_handling.go ├── file_handling.ts ├── output-go.txt └── output-ts.txt ├── functions ├── functions.go └── functions.ts ├── go.mod ├── go_node_comparison ├── go │ └── main.go └── node │ ├── index.js │ └── worker.js ├── loops ├── loops.go └── loops.ts ├── maps ├── maps.go └── maps.ts ├── numbers ├── numbers.go └── numbers.ts ├── package.json ├── pointers ├── pointers.go └── pointers.ts ├── strings ├── strings.go └── strings.ts ├── struct_interfaces ├── interfaces.ts └── structs.go ├── tests └── test.go └── variables ├── variables.go └── variables.ts /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/README.md -------------------------------------------------------------------------------- /arrays/array_methods/arrayMethods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/arrays/array_methods/arrayMethods.ts -------------------------------------------------------------------------------- /arrays/array_methods/array_methods.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/arrays/array_methods/array_methods.go -------------------------------------------------------------------------------- /arrays/arrays.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/arrays/arrays.ts -------------------------------------------------------------------------------- /arrays/arrays_slices.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/arrays/arrays_slices.go -------------------------------------------------------------------------------- /class/class.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/class/class.go -------------------------------------------------------------------------------- /class/class.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/class/class.ts -------------------------------------------------------------------------------- /conditionals/conditionals.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/conditionals/conditionals.go -------------------------------------------------------------------------------- /conditionals/conditionals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/conditionals/conditionals.ts -------------------------------------------------------------------------------- /error_handling/error_handling.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/error_handling/error_handling.go -------------------------------------------------------------------------------- /error_handling/error_handling.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/error_handling/error_handling.ts -------------------------------------------------------------------------------- /file_handling/file_handling.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/file_handling/file_handling.go -------------------------------------------------------------------------------- /file_handling/file_handling.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/file_handling/file_handling.ts -------------------------------------------------------------------------------- /file_handling/output-go.txt: -------------------------------------------------------------------------------- 1 | Hello, Go! -------------------------------------------------------------------------------- /file_handling/output-ts.txt: -------------------------------------------------------------------------------- 1 | Hello, TypeScript! -------------------------------------------------------------------------------- /functions/functions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/functions/functions.go -------------------------------------------------------------------------------- /functions/functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/functions/functions.ts -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/oliveirabalsa/go-for-ts-devs 2 | 3 | go 1.20 4 | -------------------------------------------------------------------------------- /go_node_comparison/go/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/go_node_comparison/go/main.go -------------------------------------------------------------------------------- /go_node_comparison/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/go_node_comparison/node/index.js -------------------------------------------------------------------------------- /go_node_comparison/node/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/go_node_comparison/node/worker.js -------------------------------------------------------------------------------- /loops/loops.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/loops/loops.go -------------------------------------------------------------------------------- /loops/loops.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/loops/loops.ts -------------------------------------------------------------------------------- /maps/maps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/maps/maps.go -------------------------------------------------------------------------------- /maps/maps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/maps/maps.ts -------------------------------------------------------------------------------- /numbers/numbers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/numbers/numbers.go -------------------------------------------------------------------------------- /numbers/numbers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/numbers/numbers.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/package.json -------------------------------------------------------------------------------- /pointers/pointers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/pointers/pointers.go -------------------------------------------------------------------------------- /pointers/pointers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/pointers/pointers.ts -------------------------------------------------------------------------------- /strings/strings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/strings/strings.go -------------------------------------------------------------------------------- /strings/strings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/strings/strings.ts -------------------------------------------------------------------------------- /struct_interfaces/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/struct_interfaces/interfaces.ts -------------------------------------------------------------------------------- /struct_interfaces/structs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/struct_interfaces/structs.go -------------------------------------------------------------------------------- /tests/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/tests/test.go -------------------------------------------------------------------------------- /variables/variables.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/variables/variables.go -------------------------------------------------------------------------------- /variables/variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oliveirabalsa/go-for-ts-devs/HEAD/variables/variables.ts --------------------------------------------------------------------------------