Skip to content

Update Go item creation in documentation to use URL field type for website #144

Closed
@libutcher

Description

@libutcher

Current Behavior

In the Go example file, the example for creating a new item includes a web address saved in a text field type.

Here's the relevant bit of code:

{
				ID:        "uniqueId",
				Title:     "Web address",
				Value:     "1password.com",
				FieldType: onepassword.ItemFieldTypeText,
				SectionID: &sectionID,
			},

Desired Behavior

We should update the item creation example to instead save the web address in a URL field type.

Benefits & Value

If the web address is added in a URL field type, it will display correctly in the 1Password app.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions