From 223ef84d42a41ac126a147a6849f75a1838d591d Mon Sep 17 00:00:00 2001 From: Lafriakh Rachid Date: Tue, 26 Feb 2019 18:52:29 +0100 Subject: [PATCH] Update readme.md --- README.md | 44 +++++++++++++++++++++++++++++++++++++++----- go.mod | 5 +++-- go.sum | 5 +++++ router-httprouter.go | 1 + 4 files changed, 48 insertions(+), 7 deletions(-) create mode 100644 router-httprouter.go diff --git a/README.md b/README.md index 9089bef..d4a4bb1 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,31 @@ -

Kira

+

+

Kira

+

Minimal web framework.

+

-Build Status -Code Coverage + Features | + Installation | + Getting Started | + Examples | + Docs + Build Status + Code Coverage

-Kira micro framework +--- + +**Kira** web framework. Is simply a minimal web framework try to focus in simplicity. + +## Features + +TODO + +## Installation -# Example +TODO + +## Getting Started func main() { app := kira.New() @@ -18,3 +36,19 @@ Kira micro framework app.Run() } + +## License + +Copyright 2019 Lafriakh Rachid + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/go.mod b/go.mod index dba8008..76a02bb 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,9 @@ require ( github.com/go-kira/kon v0.0.2 github.com/google/uuid v1.1.0 github.com/gorilla/mux v1.7.0 - golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 - golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 + github.com/julienschmidt/httprouter v1.2.0 // indirect + golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67 + golang.org/x/net v0.0.0-20190213061140-3a22650c66bd gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect gopkg.in/natefinch/lumberjack.v2 v2.0.0 gopkg.in/yaml.v2 v2.2.2 // indirect diff --git a/go.sum b/go.sum index 9946eff..f2a2783 100644 --- a/go.sum +++ b/go.sum @@ -11,10 +11,15 @@ github.com/google/uuid v1.1.0 h1:Jf4mxPC/ziBnoPIdpQdPJ9OeiomAUHLvxmPRSPH9m4s= github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/mux v1.7.0 h1:tOSd0UKHQd6urX6ApfOn4XdBMY6Sh1MfxV3kmaazO+U= github.com/gorilla/mux v1.7.0/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613 h1:MQ/ZZiDsUapFFiMS+vzwXkCTeEKaum+Do5rINYJDmxc= golang.org/x/crypto v0.0.0-20190131182504-b8fe1690c613/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67 h1:ng3VDlRp5/DHpSWl02R4rM9I+8M2rhmsuLwAMmkLQWE= +golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3 h1:ulvT7fqt0yHWzpJwI57MezWnYDVpCAYBVuYst/L+fAY= golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/router-httprouter.go b/router-httprouter.go new file mode 100644 index 0000000..f5a747e --- /dev/null +++ b/router-httprouter.go @@ -0,0 +1 @@ +package kira