Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da350693 authored by PixelFault-tech's avatar PixelFault-tech Committed by GitHub
Browse files

Merge pull request #1 from PoCFrance/fork-olivia

Fork olivia to master
parents fced4e05 7b064ff2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ You can start the application once build is completed.
## Maintainers

* [Theo Ardouin](https://github.com/Qwexta)
* [Luca George Francois](https://github.com/PixelFault-tech)
* [Luca Georges Francois](https://github.com/PixelFault-tech)

## Source

+4 −0
Original line number Diff line number Diff line
@@ -3,12 +3,16 @@ module github.com/PoCFrance/e
go 1.13

require (
	github.com/fatih/color v1.9.0 // indirect
	github.com/gookit/color v1.2.7
	github.com/gorilla/mux v1.7.4
	github.com/gorilla/websocket v1.4.2
	github.com/mattn/go-colorable v0.1.6 // indirect
	github.com/mattn/go-runewidth v0.0.9 // indirect
	github.com/olivia-ai/olivia v0.0.0-20200719085030-f8c54762aa91
	github.com/patrickmn/go-cache v2.1.0+incompatible
	github.com/robpike/filter v0.0.0-20150108201509-2984852a2183
	github.com/tebeka/snowball v0.4.2
	golang.org/x/sys v0.0.0-20200513112337-417ce2331b5c // indirect
	gopkg.in/cheggaaa/pb.v1 v1.0.28
)
+6 −3
Original line number Diff line number Diff line
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/gookit/color v1.2.5/go.mod h1:AhIE+pS6D4Ql0SQWbBeXPHw7gY0/sjHoA4s/n1KB7xg=
@@ -10,9 +12,11 @@ github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB7
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6 h1:6Su7aK7lXmJ/U79bYtBjLNaha4Fs1Rg9plHpcH+vvnE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
@@ -20,19 +24,18 @@ github.com/olivia-ai/olivia v0.0.0-20200719085030-f8c54762aa91 h1:vHJjavLufi8UYM
github.com/olivia-ai/olivia v0.0.0-20200719085030-f8c54762aa91/go.mod h1:LpKLHwqJAeXG0A3LfieWr0iZy+TRSJN2FYBBlfUHZAM=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/robpike/filter v0.0.0-20150108201509-2984852a2183 h1:qDhD/wJDGyWrXKLIKmEKpKK/ejaZlguyeEaLZzmrtzo=
github.com/robpike/filter v0.0.0-20150108201509-2984852a2183/go.mod h1:3dvYi47BCPInRb2ILlNnrXfl++XpwTWLbIxPyJsUvCw=
github.com/soudy/mathcat v0.0.0-20190121135055-f636e7f09e6c h1:k+uyWJ2XsylV78Xu7sZiKyA5uM1WYVerdKW6rSopZ6s=
github.com/soudy/mathcat v0.0.0-20190121135055-f636e7f09e6c/go.mod h1:d8KDiLoOGj5JBKKXfrNJOTDS7ZmeQ4Q1LymnMtFnTCw=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/tebeka/snowball v0.4.2 h1:ujvgLOr6IHbsvB2Vgz27IcxWqDrNu9/oPhhe74lN/Kc=
github.com/tebeka/snowball v0.4.2/go.mod h1:4IfL14h1lvwZcp1sfXuuc7/7yCsvVffTWxWxCLfFpYg=
github.com/zmb3/spotify v0.0.0-20200422222148-5fe5f9535a2c h1:BHOHTZS4eVhPUoiwttNT4zdvkAzquBeD7bF5qEztKgs=
github.com/zmb3/spotify v0.0.0-20200422222148-5fe5f9535a2c/go.mod h1:CYu0Uo+YYMlUX39zUTsCU9j3SpK3l1eB8oLykXF7R7w=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 h1:cg5LA/zNPRzIXIWSCxQW10Rvpy94aQh3LT/ShoCpkHw=
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+6 −4
Original line number Diff line number Diff line
package metatools

import "strings"

type indextion struct {
	I int
	W string
@@ -13,12 +15,12 @@ type Parser struct {

// Init the parser
func (p *Parser) Init(d string) {
	p.data = d
	p.data = strings.ToLower(d)
	var index indextion

	var whitespace bool = true
	var wordstart int = 0
	for i, c := range d {
	for i, c := range p.data {
		if c != ' ' {
			whitespace = false
			continue
@@ -29,13 +31,13 @@ func (p *Parser) Init(d string) {
		}

		index.I = wordstart
		index.W = d[wordstart:i]
		index.W = p.data[wordstart:i]
		p.sd = append(p.sd, index)
		whitespace = true
		wordstart = i + 1
	}
	index.I = wordstart
	index.W = d[wordstart:]
	index.W = p.data[wordstart:]
	p.sd = append(p.sd, index)
}

back/package/meteo/meteo.so

deleted100644 → 0
−3.71 MiB

File deleted.

Loading