Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
libutcher opened this issue Oct 9, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@libutcher
Copy link
Contributor

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

@libutcher libutcher added the good first issue Good for newcomers label Oct 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant