Monorepo for Tangled

fmt: *

Signed-off-by: oppiliappan <me@oppi.li>

+13 -13
+8 -8
appview/oauth/accounts_test.go
··· 6 6 7 7 func TestAccountRegistry_AddAccount(t *testing.T) { 8 8 tests := []struct { 9 - name string 10 - initial []AccountInfo 11 - addDid string 12 - addHandle string 13 - addSessionId string 14 - wantErr error 15 - wantLen int 16 - wantSessionId string 9 + name string 10 + initial []AccountInfo 11 + addDid string 12 + addHandle string 13 + addSessionId string 14 + wantErr error 15 + wantLen int 16 + wantSessionId string 17 17 }{ 18 18 { 19 19 name: "add first account",
+5 -5
appview/oauth/consts.go
··· 1 1 package oauth 2 2 3 3 const ( 4 - SessionName = "appview-session-v2" 5 - AccountsName = "appview-accounts-v2" 6 - AuthReturnName = "appview-auth-return" 7 - AuthReturnURL = "return_url" 8 - AuthAddAccount = "add_account" 4 + SessionName = "appview-session-v2" 5 + AccountsName = "appview-accounts-v2" 6 + AuthReturnName = "appview-auth-return" 7 + AuthReturnURL = "return_url" 8 + AuthAddAccount = "add_account" 9 9 SessionHandle = "handle" 10 10 SessionDid = "did" 11 11 SessionId = "id"