A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
chore(gomod): update go mod and swagger doc
LinkinStarsfb3b6a862f24
diff --git a/docs/docs.go b/docs/docs.goindex 3f07ef25..3c593476 100644--- a/docs/docs.go+++ b/docs/docs.go@@ -3003,7 +3003,7 @@ const docTemplate = `{"ApiKeyAuth": []}],- "description": "UserAnswerList",+ "description": "list personal answers","consumes": ["application/json"],@@ -3011,9 +3011,9 @@ const docTemplate = `{"application/json"],"tags": [- "api-answer"+ "Personal"],- "summary": "UserAnswerList",+ "summary": "list personal answers","parameters": [{"type": "string",@@ -3045,8 +3045,8 @@ const docTemplate = `{{"type": "string","default": "20",- "description": "pagesize",- "name": "pagesize",+ "description": "page_size",+ "name": "page_size","in": "query","required": true}@@ -3068,7 +3068,7 @@ const docTemplate = `{"ApiKeyAuth": []}],- "description": "UserCollectionList",+ "description": "list personal collections","consumes": ["application/json"],@@ -3078,7 +3078,7 @@ const docTemplate = `{"tags": ["Collection"],- "summary": "UserCollectionList",+ "summary": "list personal collections","parameters": [{"type": "string",@@ -3091,8 +3091,8 @@ const docTemplate = `{{"type": "string","default": "20",- "description": "pagesize",- "name": "pagesize",+ "description": "page_size",+ "name": "page_size","in": "query","required": true}@@ -5289,12 +5289,12 @@ const docTemplate = `{"summary": "UserModifyPassWord","parameters": [{- "description": "UserModifyPassWordRequest",+ "description": "UserModifyPasswordReq","name": "data","in": "body","required": true,"schema": {- "$ref": "#/definitions/schema.UserModifyPassWordRequest"+ "$ref": "#/definitions/schema.UserModifyPasswordReq"}}],@@ -5810,7 +5810,7 @@ const docTemplate = `{"ApiKeyAuth": []}],- "description": "UserList",+ "description": "list personal questions","consumes": ["application/json"],@@ -5818,9 +5818,9 @@ const docTemplate = `{"application/json"],"tags": [- "Question"+ "Personal"],- "summary": "UserList",+ "summary": "list personal questions","parameters": [{"type": "string",@@ -5852,8 +5852,8 @@ const docTemplate = `{{"type": "string","default": "20",- "description": "pagesize",- "name": "pagesize",+ "description": "page_size",+ "name": "page_size","in": "query","required": true}@@ -6385,19 +6385,11 @@ const docTemplate = `{}}},- "schema.ConfigFieldUIOptionAction": {- "type": "object",- "properties": {- "url": {- "type": "string"- }- }- },"schema.ConfigFieldUIOptions": {"type": "object","properties": {"action": {- "$ref": "#/definitions/schema.ConfigFieldUIOptionAction"+ "$ref": "#/definitions/schema.UIOptionAction"},"input_type": {"type": "string"@@ -7484,6 +7476,17 @@ const docTemplate = `{}}},+ "schema.LoadingAction": {+ "type": "object",+ "properties": {+ "state": {+ "type": "string"+ },+ "text": {+ "type": "string"+ }+ }+ },"schema.NotificationClearIDRequest": {"type": "object","properties": {@@ -7501,6 +7504,17 @@ const docTemplate = `{}}},+ "schema.OnCompleteAction": {+ "type": "object",+ "properties": {+ "refresh_form_config": {+ "type": "boolean"+ },+ "toast_return_message": {+ "type": "boolean"+ }+ }+ },"schema.OperationQuestionReq": {"type": "object","required": [@@ -8489,6 +8503,23 @@ const docTemplate = `{}}},+ "schema.UIOptionAction": {+ "type": "object",+ "properties": {+ "loading": {+ "$ref": "#/definitions/schema.LoadingAction"+ },+ "method": {+ "type": "string"+ },+ "on_complete": {+ "$ref": "#/definitions/schema.OnCompleteAction"+ },+ "url": {+ "type": "string"+ }+ }+ },"schema.UnreviewedRevisionInfoInfo": {"type": "object","properties": {@@ -8545,9 +8576,6 @@ const docTemplate = `{},"schema.UpdateInfoRequest": {"type": "object",- "required": [- "display_name"- ],"properties": {"avatar": {"description": "avatar",@@ -8843,6 +8871,11 @@ const docTemplate = `{"e_mail": {"type": "string","maxLength": 500+ },+ "pass": {+ "type": "string",+ "maxLength": 32,+ "minLength": 8}}},@@ -8886,7 +8919,7 @@ const docTemplate = `{}}},- "schema.UserModifyPassWordRequest": {+ "schema.UserModifyPasswordReq": {"type": "object","required": ["pass"diff --git a/docs/swagger.json b/docs/swagger.jsonindex 417377b9..963d6fe7 100644--- a/docs/swagger.json+++ b/docs/swagger.json@@ -650,6 +650,77 @@}}},+ "/answer/admin/api/setting/privileges": {+ "get": {+ "security": [+ {+ "ApiKeyAuth": []+ }+ ],+ "description": "GetPrivilegesConfig get privileges config",+ "produces": [+ "application/json"+ ],+ "tags": [+ "admin"+ ],+ "summary": "GetPrivilegesConfig get privileges config",+ "responses": {+ "200": {+ "description": "OK",+ "schema": {+ "allOf": [+ {+ "$ref": "#/definitions/handler.RespBody"+ },+ {+ "type": "object",+ "properties": {+ "data": {+ "$ref": "#/definitions/schema.GetPrivilegesConfigResp"+ }+ }+ }+ ]+ }+ }+ }+ },+ "put": {+ "security": [+ {+ "ApiKeyAuth": []+ }+ ],+ "description": "update privileges config",+ "produces": [+ "application/json"+ ],+ "tags": [+ "admin"+ ],+ "summary": "update privileges config",+ "parameters": [+ {+ "description": "config",+ "name": "data",+ "in": "body",+ "required": true,+ "schema": {+ "$ref": "#/definitions/schema.UpdatePrivilegesConfigReq"+ }+ }+ ],+ "responses": {+ "200": {+ "description": "OK",+ "schema": {+ "$ref": "#/definitions/handler.RespBody"+ }+ }+ }+ }+ },"/answer/admin/api/setting/smtp": {"get": {"security": [@@ -1289,6 +1360,77 @@}}},+ "/answer/admin/api/siteinfo/users": {+ "get": {+ "security": [+ {+ "ApiKeyAuth": []+ }+ ],+ "description": "get site user config",+ "produces": [+ "application/json"+ ],+ "tags": [+ "admin"+ ],+ "summary": "get site user config",+ "responses": {+ "200": {+ "description": "OK",+ "schema": {+ "allOf": [+ {+ "$ref": "#/definitions/handler.RespBody"+ },+ {+ "type": "object",+ "properties": {+ "data": {+ "$ref": "#/definitions/schema.SiteUsersResp"+ }+ }+ }+ ]+ }+ }+ }+ },+ "put": {+ "security": [+ {+ "ApiKeyAuth": []+ }+ ],+ "description": "update site info config about users",+ "produces": [+ "application/json"+ ],+ "tags": [+ "admin"+ ],+ "summary": "update site info config about users",+ "parameters": [+ {+ "description": "users info",+ "name": "data",+ "in": "body",+ "required": true,+ "schema": {+ "$ref": "#/definitions/schema.SiteUsersReq"+ }+ }+ ],+ "responses": {+ "200": {+ "description": "OK",+ "schema": {+ "$ref": "#/definitions/handler.RespBody"+ }+ }+ }+ }+ },"/answer/admin/api/siteinfo/write": {"get": {"security": [@@ -5135,12 +5277,12 @@"summary": "UserModifyPassWord","parameters": [{- "description": "UserModifyPassWordRequest",+ "description": "UserModifyPasswordReq","name": "data","in": "body","required": true,"schema": {- "$ref": "#/definitions/schema.UserModifyPassWordRequest"+ "$ref": "#/definitions/schema.UserModifyPasswordReq"}}],@@ -5736,6 +5878,20 @@}},"definitions": {+ "constant.Privilege": {+ "type": "object",+ "properties": {+ "key": {+ "type": "string"+ },+ "label": {+ "type": "string"+ },+ "value": {+ "type": "integer"+ }+ }+ },"handler.RespBody": {"type": "object","properties": {@@ -6220,6 +6376,9 @@"schema.ConfigFieldUIOptions": {"type": "object","properties": {+ "action": {+ "$ref": "#/definitions/schema.UIOptionAction"+ },"input_type": {"type": "string"},@@ -6231,6 +6390,12 @@},"rows": {"type": "string"+ },+ "text": {+ "type": "string"+ },+ "variant": {+ "type": "string"}}},@@ -6637,6 +6802,20 @@}}},+ "schema.GetPrivilegesConfigResp": {+ "type": "object",+ "properties": {+ "options": {+ "type": "array",+ "items": {+ "$ref": "#/definitions/schema.PrivilegeOption"+ }+ },+ "selected_level": {+ "type": "integer"+ }+ }+ },"schema.GetRankPersonalWithPageResp": {"type": "object","properties": {@@ -7285,6 +7464,17 @@}}},+ "schema.LoadingAction": {+ "type": "object",+ "properties": {+ "state": {+ "type": "string"+ },+ "text": {+ "type": "string"+ }+ }+ },"schema.NotificationClearIDRequest": {"type": "object","properties": {@@ -7302,6 +7492,17 @@}}},+ "schema.OnCompleteAction": {+ "type": "object",+ "properties": {+ "refresh_form_config": {+ "type": "boolean"+ },+ "toast_return_message": {+ "type": "boolean"+ }+ }+ },"schema.OperationQuestionReq": {"type": "object","required": [@@ -7339,6 +7540,23 @@}}},+ "schema.PrivilegeOption": {+ "type": "object",+ "properties": {+ "level": {+ "type": "integer"+ },+ "level_desc": {+ "type": "string"+ },+ "privileges": {+ "type": "array",+ "items": {+ "$ref": "#/definitions/constant.Privilege"+ }+ }+ }+ },"schema.QuestionAdd": {"type": "object","required": [@@ -7406,6 +7624,10 @@"schema.QuestionPageReq": {"type": "object","properties": {+ "inDays": {+ "type": "integer",+ "minimum": 1+ },"orderCond": {"type": "string","enum": [@@ -7788,6 +8010,10 @@"custom_header": {"type": "string","maxLength": 65536+ },+ "custom_sidebar": {+ "type": "string",+ "maxLength": 65536}}},@@ -7809,6 +8035,10 @@"custom_header": {"type": "string","maxLength": 65536+ },+ "custom_sidebar": {+ "type": "string",+ "maxLength": 65536}}},@@ -7896,6 +8126,9 @@"site_seo": {"$ref": "#/definitions/schema.SiteSeoReq"},+ "site_users": {+ "$ref": "#/definitions/schema.SiteUsersResp"+ },"theme": {"$ref": "#/definitions/schema.SiteThemeResp"},@@ -7907,18 +8140,10 @@"schema.SiteInterfaceReq": {"type": "object","required": [- "default_avatar","language","time_zone"],"properties": {- "default_avatar": {- "type": "string",- "enum": [- "system",- "gravatar"- ]- },"language": {"type": "string","maxLength": 128@@ -7932,18 +8157,10 @@"schema.SiteInterfaceResp": {"type": "object","required": [- "default_avatar","language","time_zone"],"properties": {- "default_avatar": {- "type": "string",- "enum": [- "system",- "gravatar"- ]- },"language": {"type": "string","maxLength": 128@@ -7991,6 +8208,15 @@"schema.SiteLoginReq": {"type": "object","properties": {+ "allow_email_domains": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "allow_email_registrations": {+ "type": "boolean"+ },"allow_new_registrations": {"type": "boolean"},@@ -8002,6 +8228,15 @@"schema.SiteLoginResp": {"type": "object","properties": {+ "allow_email_domains": {+ "type": "array",+ "items": {+ "type": "string"+ }+ },+ "allow_email_registrations": {+ "type": "boolean"+ },"allow_new_registrations": {"type": "boolean"},@@ -8078,6 +8313,72 @@}}},+ "schema.SiteUsersReq": {+ "type": "object",+ "required": [+ "default_avatar"+ ],+ "properties": {+ "allow_update_avatar": {+ "type": "boolean"+ },+ "allow_update_bio": {+ "type": "boolean"+ },+ "allow_update_display_name": {+ "type": "boolean"+ },+ "allow_update_location": {+ "type": "boolean"+ },+ "allow_update_username": {+ "type": "boolean"+ },+ "allow_update_website": {+ "type": "boolean"+ },+ "default_avatar": {+ "type": "string",+ "enum": [+ "system",+ "gravatar"+ ]+ }+ }+ },+ "schema.SiteUsersResp": {+ "type": "object",+ "required": [+ "default_avatar"+ ],+ "properties": {+ "allow_update_avatar": {+ "type": "boolean"+ },+ "allow_update_bio": {+ "type": "boolean"+ },+ "allow_update_display_name": {+ "type": "boolean"+ },+ "allow_update_location": {+ "type": "boolean"+ },+ "allow_update_username": {+ "type": "boolean"+ },+ "allow_update_website": {+ "type": "boolean"+ },+ "default_avatar": {+ "type": "string",+ "enum": [+ "system",+ "gravatar"+ ]+ }+ }+ },"schema.SiteWriteReq": {"type": "object","properties": {@@ -8190,6 +8491,23 @@}}},+ "schema.UIOptionAction": {+ "type": "object",+ "properties": {+ "loading": {+ "$ref": "#/definitions/schema.LoadingAction"+ },+ "method": {+ "type": "string"+ },+ "on_complete": {+ "$ref": "#/definitions/schema.OnCompleteAction"+ },+ "url": {+ "type": "string"+ }+ }+ },"schema.UnreviewedRevisionInfoInfo": {"type": "object","properties": {@@ -8246,9 +8564,6 @@},"schema.UpdateInfoRequest": {"type": "object",- "required": [- "display_name"- ],"properties": {"avatar": {"description": "avatar",@@ -8312,6 +8627,19 @@}}},+ "schema.UpdatePrivilegesConfigReq": {+ "type": "object",+ "required": [+ "level"+ ],+ "properties": {+ "level": {+ "type": "integer",+ "maximum": 3,+ "minimum": 1+ }+ }+ },"schema.UpdateSMTPConfigReq": {"type": "object","properties": {@@ -8531,6 +8859,11 @@"e_mail": {"type": "string","maxLength": 500+ },+ "pass": {+ "type": "string",+ "maxLength": 32,+ "minLength": 8}}},@@ -8574,7 +8907,7 @@}}},- "schema.UserModifyPassWordRequest": {+ "schema.UserModifyPasswordReq": {"type": "object","required": ["pass"diff --git a/docs/swagger.yaml b/docs/swagger.yamlindex 52f11db3..cb011241 100644--- a/docs/swagger.yaml+++ b/docs/swagger.yaml@@ -1,4 +1,13 @@definitions:+ constant.Privilege:+ properties:+ key:+ type: string+ label:+ type: string+ value:+ type: integer+ type: objecthandler.RespBody:properties:code:@@ -334,6 +343,8 @@ definitions:type: objectschema.ConfigFieldUIOptions:properties:+ action:+ $ref: '#/definitions/schema.UIOptionAction'input_type:type: stringlabel:@@ -342,6 +353,10 @@ definitions:type: stringrows:type: string+ text:+ type: string+ variant:+ type: stringtype: objectschema.ConnectorInfoResp:properties:@@ -631,6 +646,15 @@ definitions:version:type: stringtype: object+ schema.GetPrivilegesConfigResp:+ properties:+ options:+ items:+ $ref: '#/definitions/schema.PrivilegeOption'+ type: array+ selected_level:+ type: integer+ type: objectschema.GetRankPersonalWithPageResp:properties:answer_id:@@ -1101,6 +1125,13 @@ definitions:description: vote typetype: stringtype: object+ schema.LoadingAction:+ properties:+ state:+ type: string+ text:+ type: string+ type: objectschema.NotificationClearIDRequest:properties:id:@@ -1112,6 +1143,13 @@ definitions:description: inbox achievementtype: stringtype: object+ schema.OnCompleteAction:+ properties:+ refresh_form_config:+ type: boolean+ toast_return_message:+ type: boolean+ type: objectschema.OperationQuestionReq:properties:id:@@ -1136,6 +1174,17 @@ definitions:content:type: stringtype: object+ schema.PrivilegeOption:+ properties:+ level:+ type: integer+ level_desc:+ type: string+ privileges:+ items:+ $ref: '#/definitions/constant.Privilege'+ type: array+ type: objectschema.QuestionAdd:properties:content:@@ -1187,6 +1236,9 @@ definitions:type: objectschema.QuestionPageReq:properties:+ inDays:+ minimum: 1+ type: integerorderCond:enum:- newest@@ -1454,6 +1506,9 @@ definitions:custom_header:maxLength: 65536type: string+ custom_sidebar:+ maxLength: 65536+ type: stringtype: objectschema.SiteCustomCssHTMLResp:properties:@@ -1469,6 +1524,9 @@ definitions:custom_header:maxLength: 65536type: string+ custom_sidebar:+ maxLength: 65536+ type: stringtype: objectschema.SiteGeneralReq:properties:@@ -1530,6 +1588,8 @@ definitions:type: stringsite_seo:$ref: '#/definitions/schema.SiteSeoReq'+ site_users:+ $ref: '#/definitions/schema.SiteUsersResp'theme:$ref: '#/definitions/schema.SiteThemeResp'version:@@ -1537,11 +1597,6 @@ definitions:type: objectschema.SiteInterfaceReq:properties:- default_avatar:- enum:- - system- - gravatar- type: stringlanguage:maxLength: 128type: string@@ -1549,17 +1604,11 @@ definitions:maxLength: 128type: stringrequired:- - default_avatar- language- time_zonetype: objectschema.SiteInterfaceResp:properties:- default_avatar:- enum:- - system- - gravatar- type: stringlanguage:maxLength: 128type: string@@ -1567,7 +1616,6 @@ definitions:maxLength: 128type: stringrequired:- - default_avatar- language- time_zonetype: object@@ -1595,6 +1643,12 @@ definitions:type: objectschema.SiteLoginReq:properties:+ allow_email_domains:+ items:+ type: string+ type: array+ allow_email_registrations:+ type: booleanallow_new_registrations:type: booleanlogin_required:@@ -1602,6 +1656,12 @@ definitions:type: objectschema.SiteLoginResp:properties:+ allow_email_domains:+ items:+ type: string+ type: array+ allow_email_registrations:+ type: booleanallow_new_registrations:type: booleanlogin_required:@@ -1654,6 +1714,50 @@ definitions:$ref: '#/definitions/schema.ThemeOption'type: arraytype: object+ schema.SiteUsersReq:+ properties:+ allow_update_avatar:+ type: boolean+ allow_update_bio:+ type: boolean+ allow_update_display_name:+ type: boolean+ allow_update_location:+ type: boolean+ allow_update_username:+ type: boolean+ allow_update_website:+ type: boolean+ default_avatar:+ enum:+ - system+ - gravatar+ type: string+ required:+ - default_avatar+ type: object+ schema.SiteUsersResp:+ properties:+ allow_update_avatar:+ type: boolean+ allow_update_bio:+ type: boolean+ allow_update_display_name:+ type: boolean+ allow_update_location:+ type: boolean+ allow_update_username:+ type: boolean+ allow_update_website:+ type: boolean+ default_avatar:+ enum:+ - system+ - gravatar+ type: string+ required:+ - default_avatar+ type: objectschema.SiteWriteReq:properties:recommend_tags:@@ -1732,6 +1836,17 @@ definitions:value:type: stringtype: object+ schema.UIOptionAction:+ properties:+ loading:+ $ref: '#/definitions/schema.LoadingAction'+ method:+ type: string+ on_complete:+ $ref: '#/definitions/schema.OnCompleteAction'+ url:+ type: string+ type: objectschema.UnreviewedRevisionInfoInfo:properties:content:@@ -1794,8 +1909,6 @@ definitions:description: websitemaxLength: 500type: string- required:- - display_nametype: objectschema.UpdatePluginConfigReq:properties:@@ -1818,6 +1931,15 @@ definitions:required:- plugin_slug_nametype: object+ schema.UpdatePrivilegesConfigReq:+ properties:+ level:+ maximum: 3+ minimum: 1+ type: integer+ required:+ - level+ type: objectschema.UpdateSMTPConfigReq:properties:encryption:@@ -1974,6 +2096,10 @@ definitions:e_mail:maxLength: 500type: string+ pass:+ maxLength: 32+ minLength: 8+ type: stringrequired:- e_mailtype: object@@ -2006,7 +2132,7 @@ definitions:- e_mail- passtype: object- schema.UserModifyPassWordRequest:+ schema.UserModifyPasswordReq:properties:old_pass:maxLength: 32@@ -2554,6 +2680,47 @@ paths:summary: get role listtags:- admin+ /answer/admin/api/setting/privileges:+ get:+ description: GetPrivilegesConfig get privileges config+ produces:+ - application/json+ responses:+ "200":+ description: OK+ schema:+ allOf:+ - $ref: '#/definitions/handler.RespBody'+ - properties:+ data:+ $ref: '#/definitions/schema.GetPrivilegesConfigResp'+ type: object+ security:+ - ApiKeyAuth: []+ summary: GetPrivilegesConfig get privileges config+ tags:+ - admin+ put:+ description: update privileges config+ parameters:+ - description: config+ in: body+ name: data+ required: true+ schema:+ $ref: '#/definitions/schema.UpdatePrivilegesConfigReq'+ produces:+ - application/json+ responses:+ "200":+ description: OK+ schema:+ $ref: '#/definitions/handler.RespBody'+ security:+ - ApiKeyAuth: []+ summary: update privileges config+ tags:+ - admin/answer/admin/api/setting/smtp:get:description: GetSMTPConfig get smtp config@@ -2923,6 +3090,47 @@ paths:summary: update site custom css html configtags:- admin+ /answer/admin/api/siteinfo/users:+ get:+ description: get site user config+ produces:+ - application/json+ responses:+ "200":+ description: OK+ schema:+ allOf:+ - $ref: '#/definitions/handler.RespBody'+ - properties:+ data:+ $ref: '#/definitions/schema.SiteUsersResp'+ type: object+ security:+ - ApiKeyAuth: []+ summary: get site user config+ tags:+ - admin+ put:+ description: update site info config about users+ parameters:+ - description: users info+ in: body+ name: data+ required: true+ schema:+ $ref: '#/definitions/schema.SiteUsersReq'+ produces:+ - application/json+ responses:+ "200":+ description: OK+ schema:+ $ref: '#/definitions/handler.RespBody'+ security:+ - ApiKeyAuth: []+ summary: update site info config about users+ tags:+ - admin/answer/admin/api/siteinfo/write:get:description: get site interface@@ -5248,12 +5456,12 @@ paths:- application/jsondescription: UserModifyPassWordparameters:- - description: UserModifyPassWordRequest+ - description: UserModifyPasswordReqin: bodyname: datarequired: trueschema:- $ref: '#/definitions/schema.UserModifyPassWordRequest'+ $ref: '#/definitions/schema.UserModifyPasswordReq'produces:- application/jsonresponses:diff --git a/go.sum b/go.sumindex cf7f1580..ee2d6183 100644--- a/go.sum+++ b/go.sum@@ -538,9 +538,8 @@ github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vgithub.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=+github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=-github.com/onsi/gomega v1.20.1 h1:PA/3qinGoukvymdIDV8pii6tiZgC8kbmJO6Z5+b002Q=-github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo=github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=@@ -782,8 +781,8 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ygolang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=-golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8=-golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80=+golang.org/x/crypto v0.1.0 h1:MDRAIl0xIo9Io2xV565hzXHw3zVseKrJKodhohM5CjU=+golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=