Pastebin
API
tools
faq
paste
Login
Sign up
Cwchen's Pastebin
Taiwan
13,205
606,016
0
12 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
[Go] Using channels.
Nov 28th, 2017
Never
958
0
Go
-
[Go] Using goroutine.
Nov 28th, 2017
Never
994
0
Go
-
[Go] Queue generated by genny
Nov 21st, 2017
Never
672
0
Go
-
[Go] Queue template for genny
Nov 21st, 2017
Never
624
0
Go
-
[Go] Using lists.
Nov 21st, 2017
Never
609
0
Go
-
[Go][excerpt] list filter.
Nov 21st, 2017
Never
602
0
Go
-
[Go][excerpt] list push
Nov 21st, 2017
Never
628
0
Go
-
[Go][excerpt] List class
Nov 21st, 2017
Never
599
0
Go
-
[Go] Sorting demo.
Nov 21st, 2017
Never
640
0
Go
-
[Go] Higher-order function combo.
Nov 15th, 2017
Never
709
0
Go
-
[Go] Higher-order function: enumerate
Nov 15th, 2017
Never
639
0
Go
-
[Go] Higher-order function: zip
Nov 15th, 2017
Never
683
0
Go
-
[Go] Higher-order function: partition
Nov 15th, 2017
Never
663
0
Go
-
[Go] Higher-order function: reduce
Nov 15th, 2017
Never
685
0
Go
-
[Go] Higher-order function: apply
Nov 15th, 2017
Never
658
0
Go
-
[Go] Higher-order function: filter.
Nov 15th, 2017
Never
654
0
Go
-
[Go] Strict evaluation in Go.
Nov 8th, 2017
Never
588
0
Go
-
[Go] Closure demo.
Nov 8th, 2017
Never
581
0
Go
-
[Go] Higher-order function demo.
Nov 8th, 2017
Never
730
0
Go
-
[Go] function object
Nov 8th, 2017
Never
575
0
Go
-
[Go] Recover demo.
Oct 28th, 2017
Never
617
0
Go
-
[Go] Panic demo.
Oct 28th, 2017
Never
600
0
Go
-
[Go] Passing boolean as error.
Oct 28th, 2017
Never
631
0
Go
-
[Go] Ignoring the error.
Oct 28th, 2017
Never
612
0
Go
-
[Go] Terminating the program on error.
Oct 28th, 2017
Never
609
0
Go
-
[Go] Print out error messages.
Oct 28th, 2017
Never
628
0
Go
-
[Go] Error when reading files.
Oct 28th, 2017
Never
624
0
Go
-
[Go] Division by zero
Oct 28th, 2017
Never
798
0
Go
-
[Go] Using void interface in Go fmt library.
Oct 7th, 2017
Never
854
0
Go
-
[Go] Type assertion with switch statement.
Oct 7th, 2017
Never
857
0
Go
-
[Go] Type assertion with uncertainty
Oct 7th, 2017
Never
876
0
Go
-
[Go] Type assertion.
Oct 7th, 2017
Never
884
0
Go
-
[Go] Adding to void interface values (with error)
Oct 7th, 2017
Never
864
0
Go
-
[Go] Void interface demo.
Oct 7th, 2017
Never
896
0
Go
-
[Go] Overriding String method.
Oct 7th, 2017
Never
881
0
Go
-
[Go] Builder pattern demo.
Oct 7th, 2017
Never
883
0
Go
-
[Go] Interface embedding
Oct 7th, 2017
Never
866
0
Go
-
[Go] IPoint interface demo.
Oct 7th, 2017
Never
886
0
Go
-
[Go] IPoint interface.
Oct 7th, 2017
Never
847
0
Go
-
[Go] Embedding a pointer.
Oct 5th, 2017
Never
945
0
Go
-
[Go][excerpt] Wrong polymorphism.
Oct 5th, 2017
Never
1,037
0
Go
-
[Go] Embedding Point into Point3D
Oct 5th, 2017
Never
978
0
Go
-
[Go] Point class with static methods
Oct 5th, 2017
Never
1,351
0
Go
-
[Go] Creating a Point class with methods.
Oct 5th, 2017
Never
1,017
0
Go
-
[Go][excerpt] Creating a Vector class.
Oct 5th, 2017
Never
924
0
Go
-
[Go] Creating a Point class.
Oct 5th, 2017
Never
1,028
0
Go
-
[Go] init function demo.
Sep 30th, 2017
Never
934
0
Go
-
[Go] Alternatives to functional overloading.
Sep 30th, 2017
Never
960
0
Go
-
[Go] Simulating default parameters with structs
Sep 30th, 2017
Never
978
0
Go
-
[Go] Functions with varargs.
Sep 30th, 2017
Never
955
0
Go
-
[Go] C-style objects in Go
Sep 30th, 2017
Never
969
0
Go
-
[Go] Functions with returning values.
Sep 30th, 2017
Never
974
0
Go
-
[Go] Functions with parameters.
Sep 30th, 2017
Never
950
0
Go
-
[Go] Hello World in function
Sep 30th, 2017
Never
989
0
Go
-
[Go] Allocating memory for a struct.
Sep 27th, 2017
Never
1,257
0
Go
-
[Go] Dynamically allocate a chunk of memory for an integer.
Sep 27th, 2017
Never
1,128
0
Go
-
[Go] Declaring a pointer to an integer.
Sep 27th, 2017
Never
1,129
0
Go
-
[Go] Memorizing the order of a map.
Sep 23rd, 2017
Never
679
0
Go
-
[Go] Map doesn't guarantee its order.
Sep 23rd, 2017
Never
661
0
Go
-
[Go] Iterating through a map.
Sep 23rd, 2017
Never
671
0
Go
-
[Go] Deleting a key-value pair in map.
Sep 23rd, 2017
Never
670
0
Go
-
[Go] Check the existence of some key in map.
Sep 23rd, 2017
Never
749
0
Go
-
[Go] Default value for non-existing key in map.
Sep 23rd, 2017
Never
651
0
Go
-
[Go] Map demo.
Sep 23rd, 2017
Never
659
0
Go
-
[Go] Removing an element from a slice.
Sep 20th, 2017
Never
1,052
0
Go
-
[Go] Extending a slice (from 5 to 8).
Sep 20th, 2017
Never
1,026
0
Go
-
[Go] Creating a slice dynamically.
Sep 20th, 2017
Never
1,037
0
Go
-
[Go] Simulating a matrix with a multi-dimensional slice.
Sep 20th, 2017
Never
1,050
0
Go
-
[Go] Creating a slice from an array.
Sep 20th, 2017
Never
1,045
0
Go
-
[Go] Iterating through a slice.
Sep 20th, 2017
Never
1,053
0
Go
-
[Go] Modifying the elements in an array.
Sep 20th, 2017
Never
1,039
0
Go
-
[Go] Modifying elements in an array (no effect)
Sep 20th, 2017
Never
1,050
0
Go
-
[Go] Iterating through an array, with dummy variable.
Sep 20th, 2017
Never
1,027
0
Go
-
[Go] Iterating through an array.
Sep 20th, 2017
Never
1,012
0
Go
-
[Go] Array declaration, short form.
Sep 20th, 2017
Never
1,048
0
Go
-
[Go] Array demo.
Sep 20th, 2017
Never
1,039
0
Go
-
[Go] Nested struct.
Sep 19th, 2017
Never
731
0
Go
-
[Go] Person struct w/ heterogenous fields.
Sep 19th, 2017
Never
728
0
Go
-
[Go] Calculating the distance between two points w/ struct.
Sep 19th, 2017
Never
1,406
0
Go
-
[Go] Anonymous struct demo
Sep 19th, 2017
Never
754
0
Go
-
[Go] struct demo
Sep 19th, 2017
Never
737
0
Go
-
[Go] guess number demo.
Sep 16th, 2017
Never
987
0
Go
-
[Go] defer demo.
Sep 16th, 2017
Never
990
0
Go
-
[Go] goto demo.
Sep 16th, 2017
Never
963
0
Go
-
[Go] break with labels demo.
Sep 16th, 2017
Never
975
0
Go
-
[Go] continue demo.
Sep 16th, 2017
Never
959
0
Go
-
[Go] break demo.
Sep 16th, 2017
Never
960
0
Go
-
[Go] for (in C style) demo.
Sep 16th, 2017
Never
966
0
Go
-
[Go] Infinite loop demo
Sep 16th, 2017
Never
992
0
Go
-
[Go] for (as while) demo.
Sep 16th, 2017
Never
951
0
Go
-
[Go] switch without variable demo
Sep 14th, 2017
Never
491
0
Go
-
[Go] switch with fallthrough demo.
Sep 14th, 2017
Never
525
0
Go
-
[Go] switch demo
Sep 14th, 2017
Never
513
0
Go
-
[Go] Judging current system with switch
Sep 14th, 2017
Never
521
0
Go
-
[Go] multiple else if demo
Sep 14th, 2017
Never
515
0
Go
-
[Go] if ... else if ... else demo
Sep 14th, 2017
Never
545
0
Go
-
[Go] if .. else demo
Sep 14th, 2017
Never
524
0
None
-
[Go] if demo
Sep 14th, 2017
Never
530
0
Go
-
[Go] Bitwise operators
Sep 9th, 2017
Never
579
0
Go
-
[Go] Logic operators
Sep 9th, 2017
Never
599
0
Go
-
Most Recent
1
2
3
4
5
Oldest
Public Pastes
Untitled
1 hour ago | 8.54 KB
Untitled
1 hour ago | 9.63 KB
Untitled
3 hours ago | 8.93 KB
Untitled
3 hours ago | 7.42 KB
Untitled
5 hours ago | 11.38 KB
Untitled
7 hours ago | 10.12 KB
Untitled
7 hours ago | 5.91 KB
Untitled
9 hours ago | 9.65 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!