Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Codersdk: make workspace_build.deadline a pointer #2015

Closed
Assignees
mafredri
Labels
apiArea: HTTP API
@johnstcn

Description

@johnstcn

What

Change this

type WorkspaceBuild struct {    ...    Deadline time.Time `json:"deadline"`    ...

To this:

type WorkspaceBuild struct {    ...    Deadline *time.Time `json:"deadline"`    ...

Why

The FE currently needs to check for the zero-value oftime.Time for 'falsey' values.
Making this a pointer would allow passingnull and avoid this need.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp