Ублажил линтер

master
Andrey Ivanov 2020-10-27 18:40:28 +03:00 committed by tiburon
parent 534f58e49e
commit f9535562d4
4 changed files with 26 additions and 3 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
examples
.idea
*.log
bin

View File

@ -8,6 +8,6 @@ lint: install-lint-deps
golangci-lint run ./previewer/...
install-lint-deps:
(which golangci-lint > /dev/null) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.31.0
rm -rf $(shell go env GOPATH)/bin/golangci-lint
(which golangci-lint > /dev/null) || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.30.0
.PHONY: build test lint

1
go.sum
View File

@ -5,6 +5,7 @@ github.com/amitrai48/logger v0.0.0-20190214092904-448001c055ec/go.mod h1:RZEHP3c
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/golangci/golangci-lint v1.32.0 h1:3wL5pvhTpRvlvtosoZecS+hu40IAiJl1qlZQuXIFBAg=
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 h1:zYyBkD/k9seD2A7fsi6Oo2LfFZAehjjQMERAvZLEDnQ=

21
project_test.html Normal file
View File

@ -0,0 +1,21 @@
<html>
<head>
</head>
<body>
<div>
<img src="http://localhost/20/40/tiburon.su/img/portfolio/big/011.jpg">
</div>
<div>
<img src="http://localhost/fill/20/40/tiburon.su/img/portfolio/big/011.jpg">
</div>
<div>
<img src="http://localhost/fill/40/20/tiburon.su/img/portfolio/big/011.jpg">
</div>
<div>
<img src="http://localhost/fill/1200/1300/tiburon.su/img/portfolio/big/011.jpg">
</div>
<div>
<img src="http://localhost/fill/100/100/tiburon.su/img/portfolio/big/011.jpg">
</div>
</body>
</html>