Skip to content

Commit

Permalink
Use https://pkg.go.dev/ instead of godoc.org
Browse files Browse the repository at this point in the history
For the badge, I've used golang/go#36982 (comment)
  • Loading branch information
nono committed Feb 17, 2020
1 parent fb9b15c commit 56d9557
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
!/.github

/.assets
/.cozy
/bin
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Cozy Cloud
==========

[![GoDoc](https://godoc.org/github.com/cozy/cozy-stack?status.svg)](https://godoc.org/github.com/cozy/cozy-stack)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/github.com/cozy/cozy-stack)
[![Build Status](https://github.com/cozy/cozy-stack/workflows/CI/badge.svg)](https://github.com/cozy/cozy-stack/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/cozy/cozy-stack)](https://goreportcard.com/report/github.com/cozy/cozy-stack)

Expand Down
2 changes: 1 addition & 1 deletion docs/archives/realtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sharing from).
we do not need, has
[better server support (92% users)](http://caniuse.com/#feat=websockets) but
is impossible to polyfill client side, more popular, there is a better
[golang package](https://godoc.org/github.com/gorilla/websocket)
[golang package](https://pkg.go.dev/github.com/gorilla/websocket)
- **SockJS & cie** they are **a lot** of packages which imitate Websocket API
while using complicated client&server polyfill to allow support of older
browser. [SockJS](https://github.com/sockjs/) is a drop-in websocket
Expand Down
2 changes: 1 addition & 1 deletion docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ The derived password is stored on the server in a secure fashion, with a
password hashing function. The hashing function and its parameter are stored
with the hash, in order to make it possible to change the algorithm and/or the
parameters later if we had any suspicion that it became too weak. The initial
algorithm is [scrypt](https://godoc.org/golang.org/x/crypto/scrypt).
algorithm is [scrypt](https://pkg.go.dev/golang.org/x/crypto/scrypt).

The access code is valid only once, and will expire after 5 minutes

Expand Down
4 changes: 2 additions & 2 deletions pkg/crypto/scrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (

// Scrypt params, this set of parameters is recommended in
// - https://www.tarsnap.com/scrypt/scrypt-slides.pdf
// - https://godoc.org/golang.org/x/crypto/scrypt#Key
// - https://godoc.org/github.com/elithrar/simple-scrypt#DefaultParams
// - https://pkg.go.dev/golang.org/x/crypto/scrypt#Key
// - https://pkg.go.dev/github.com/elithrar/simple-scrypt#DefaultParams
// - https://blog.filippo.io/the-scrypt-parameters/
// - https://github.com/golang/go/issues/22082
const defaultN = 32768
Expand Down

0 comments on commit 56d9557

Please sign in to comment.