diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2018-02-07 19:33:36 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2018-02-07 19:33:36 +0100 |
| commit | 801b5207dcbf3438e7612e1f7edc9de32ce0780c (patch) | |
| tree | 6f0454ec49bf769e361cfa393290efc68583ca67 /headers/base.go | |
| parent | 8bddda344201d9f034b5e9c2e9c37a25caeb80cb (diff) | |
| download | go-schwift-801b5207dcbf3438e7612e1f7edc9de32ce0780c.tar.gz | |
switch from reflection to code generation
This allows me to make the API much simpler. More simplification
forthcoming in the following commit; I just want to make a cut since
`make test` is happy right now.
Diffstat (limited to 'headers/base.go')
| -rw-r--r-- | headers/base.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/headers/base.go b/headers/base.go index 1357e82..3b5b3ec 100644 --- a/headers/base.go +++ b/headers/base.go @@ -20,6 +20,14 @@ package headers //Base is an implementation detail. type Base struct { - H Headers + H Interface K string } + +//Interface is an implementation detail. +type Interface interface { + Clear(string) + Del(string) + Get(string) string + Set(string, string) +} |
