-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinheritance.go
70 lines (47 loc) · 1.53 KB
/
inheritance.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
<!--
Copyright (c) 2019 Christoph Berger. Some rights reserved.
Use of the text in this file is governed by a Creative Commons Attribution Non-Commercial
Share-Alike License that can be found in the LICENSE.txt file.
Use of the code in this file is governed by a BSD 3-clause license that can be found
in the LICENSE.txt file.
The source code contained in this file may import third-party source code
whose licenses are provided in the respective license files.
-->
<!--
NOTE: The comments in this file are NOT godoc compliant. This is not an oversight.
Comments and code in this file are used for describing and explaining a particular topic to the reader. While this file is a syntactically valid Go source file, its main purpose is to get converted into a blog article. The comments were created for learning and not for code documentation.
-->
+++
title = ""
description = ""
author = "Christoph Berger"
email = "[email protected]"
date = "2017-00-00"
draft = "true"
categories = [""]
tags = ["", "", ""]
articletypes = ["Tutorial"]
+++
### Summary goes here
<!--more-->
## Intro goes here
## The code
*/
// ## Imports and globals
package main
/*
## How to get and run the code
Step 1: `go get` the code. Note the `-d` flag that prevents auto-installing
the binary into `$GOPATH/bin`.
go get -d github.com/appliedgo/TODO:
Step 2: `cd` to the source code directory.
cd $GOPATH/src/github.com/appliedgo/TODO:
Step 3. Run the binary.
go run TODO:.go
## Odds and ends
## Some remarks
## Tips
## Links
**Happy coding!**
*/