Directories ¶ Show internal Expand all Path Synopsis GO 05-control-flow/01-if-condition 05-control-flow/02-if-else-condition 05-control-flow/03-if-else-if-condition 05-control-flow/04-switch-statement 05-control-flow/05-switch-combine-cases 05-control-flow/06-switch-with-no-expression 05-control-flow/07-for-loop 05-control-flow/08-for-without-init-statement 05-control-flow/09-for-without-increment-statement 05-control-flow/10-for-infinite 05-control-flow/11-for-break 05-control-flow/12-for-continue 10-maps/01-map-declaration 10-maps/02-map-initialize-using-make 10-maps/03-map-literal 10-maps/04-map-add-keys 10-maps/05-map-access-keys 10-maps/06-check-key-existence 10-maps/07-map-delete-key 10-maps/08-map-reference-type 10-maps/09-map-iterate 11-pointers/01-pointer-declaration 11-pointers/02-pointer-initialization 11-pointers/03-pointer-dereference 11-pointers/04-pointer-new-function 11-pointers/05-pointer-to-pointer 11-pointers/06-pointer-arithmetic 11-pointers/07-pointer-equality 12-structs/01-struct-declaration-initialization 12-structs/02-struct-access-fields 12-structs/03-pointer-to-struct 12-structs/04-pointer-to-struct-using-new-function 12-structs/05-struct-exported-vs-unexported/main 12-structs/05-struct-exported-vs-unexported/model 12-structs/06-struct-value-types 12-structs/07-struct-equality 13-methods/01-method-example 13-methods/02-methods-are-functions 13-methods/03-same-method-names-on-different-types 13-methods/04-methods-with-pointer-receivers 13-methods/05-functions-with-pointer-arguments 13-methods/06-method-with-pointer-receiver-vs-function-with-pointer-argument 13-methods/07-method-with-value-receiver-vs-function-with-value-argument 13-methods/08-methods-on-non-struct-types 14-interfaces/01-interface-example 15-sorting 16-command-line-flags 17-url-encoding-decoding/01-url-encode 17-url-encoding-decoding/02-url-decode 18-base64-encoding-decoding/01-base64-encoding 18-base64-encoding-decoding/02-base64-decoding Arrays/01-array-declaration Arrays/02-array-indexing Arrays/03-array-initialization Arrays/04-array-value-types Arrays/05-array-iteration Arrays/06-array-iteration-range Arrays/ArrayLength Functions/01-function-declaration Functions/02-function-multiple-return-values Functions/03-function-multiple-return-values-error Functions/04-function-named-return-values Functions/05-blank-identifier Main Packages/main Packages/numbers Packages/strings Packages/strings/greeting Slices/01-create-slice Slices/02-create-slice-from-array Slices/03-create-slice-from-another-slice Slices/04-slice-modify Slices/05-slice-length-capacity Slices/06-slice-extend-capacity Slices/07-create-slice-using-make Slices/08-slice-zero-value Slices/09-slice-copy Slices/10-slice-append Slices/11-slice-append-capacity Slices/12-slice-append-nil Slices/13-slice-append-another-slice Slices/14-slice-of-slices Slices/15-slice-iterate-for-loop Slices/16-slice-iterate-range Slices/17-slice-iterate-range-blank-identifier StringArray UserInput Work/QuoteGenerator Click to show internal directories. Click to hide internal directories.